Although I have not been able to track
down the problem… I have the feeling that this is some how related to
some form of ambiguity. I imagine that NAnt is somehow referencing assemblies
in a way that is not consistent with VS.NET. Perhaps one of the referenced assemblies
(might be a .NET Framework assembly) contains a Util class or namespace that is
clashing with your Util class. That would explain why fully qualifying the
class works. Again, I don’t understand the code well enough to know
whether this is possible. That is the feeling I get when I see this type of
error though. Maybe this will spark some ideas to people with more knowledge
than me. --Edwin From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Elder Hey all, I am brand spanking new to NAnt, but I have been able to get
basic CS projects building. One problem I have run into is with a project
of mine that has a class called “Util” – After searching
around; it appears others are having the same problem. The problem is that when I build I get an error saying the
type or namespace “Util” could not be found (am I missing an
assembly reference). Of course this is bogus, because the Util class is
defined in a file called Util.CS and is being built as part of the
project. If I build it via VS it works great. If I RENAME the Util
class to say “Tools” it works. If I fully qualify the Util
class with its full namespace (ex: Company.Common.Util) it works. Any thoughts? I am using NAnt 0.85 Aaron Elder |
RE: [Nant-users] Util Namespace Not Found
Castro, Edwin Gabriel (Firing Systems Engr.) Wed, 17 Nov 2004 17:04:19 -0800
- RE: [Nant-users] Util Namespa... Castro, Edwin Gabriel (Firing Systems Engr.)
- RE: [Nant-users] Util Na... Aaron Elder
- RE: [Nant-users] Uti... Gert Driesen
- RE: [Nant-users]... Gert Driesen