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 
 
 
This message, including any attachments, is intended only for the use of the 
individual(s) to which it is addressed and may contain information that is 
privileged/confidential.  Any other distribution, copying or disclosure is 
strictly prohibited.  If you are not the intended recipient or have received 
this message in error, please notify us immediately by reply e-mail and 
permanently delete this message including any attachments, without reading it 
or making a copy.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to