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]
Sent: den 20 januari 2005 18:28
To: Sparrman, David (GE Healthcare, non-ge); nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Building C++ projects with the solution task

 

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)
Sent: Thursday, January 20, 2005 8:30 AM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Building C++ projects with the solution task

 

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?

 

 

 

Reply via email to