I’m attempting to build an ATL 7 COM VS.Net 2003 project with NAnt.  I’d like to use the <solution> task if possible.

 

<solution configuration="Debug" verbose="true">

 <projects>

   <includes name="ProjDir\Proj.vcproj" />

 </projects>

</solution>

 

 

The build fails trying to compile the very first file (stdafx.cpp) stating that it can’t find the precompiled header directive.

NAnt seems to ignore the /Yc I have specified in the project settings with VS.Net.

 

How do I make NAnt pick up ALL of the compiler options from the VS.Net vcproj file?

 

Thanks,

 

Tim Marks

 

Reply via email to