Ok, that is good news. That means the documentation in Visual
Studio is incorrect then. Interesting. One should obviously never
trust documentation, even from MS with their resources From: Melissa Kacher
[mailto:[EMAIL PROTECTED] The Visual Studio macro is called
$(ProjectDir), not $(ProjDir). That should solve your problem. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sparrman, David (GE Healthcare, non-ge) We are running NAnt 0.85 nightly 2001-01-15 using the
solution task. If a C++ project file in the solution has an assembly
reference using variable ${SolutionDir) to define referenced location, building
the solution using nant works. Unfortunately, we cannot use that approach since the C++
project is part of several solutions, and they reside in different directories
so only one of the solutions will find the reference and compile. Visual Studio has another property called ${ProjDir} that
would suit us perfectly. Unfortunately it seems that NAnt does not support that
property. It fails with message Macro “ProjDir”, used by
assembly reference “log4net” in project XXXX is not supported in
assembly references Is this message from NAnt or from the .NET Framework? If it is from NAnt, will this feature be implemented anytime
soon? |
RE: [Nant-users] Building C++ projects with the solution task
Sparrman, David (GE Healthcare, non-ge) Thu, 20 Jan 2005 23:44:17 -0800