Thanks,
Melissa
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dipak, Ajit
Sent: Tuesday, May 09, 2006 7:34 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] <solution> task - Fails on VC++ project (vcproj)
Hello all,
I'm attempting to use the <solution> task with a solution that has 6 C# projects (*.csproj) and 1 Managed C++ project (*.vcproj). Note that the solution file compiles without issue in the VS.NET 2003 IDE.
The NAnt build however, produces
[cl] c:\mybuilds\src\MyProjects\MyClass.cpp(6) : fatal error C1083: Cannot open include file: 'iostream': No such file or directory
[cl] Generating Code...
BUILD FAILED
External Program Failed: cl (return code was 2)
The <solution> task in my build script is quite straightforward
<solution solutionfile="${SourceFolder}\${SolutionFileName}" outputdir="${AssemblyOutputFolder}" configuration="${SolutionConfig}">
<excludeprojects>
<include name="${SourceFolder}\**\*.dbp" />
</excludeprojects>
</solution>
Is there some setting or property I need to set in order for the cl.exe to pick up the predefined headers?
--Ajit