I was previously successfully building a Visual Studio 6 C++ project using the 
<exec> call out to MSDEV, but now the developer has imported that Visual Studio 
6 project into Visual Studio.NET 2003.

There is an .sln file and I'm trying to use the <solution> task (since I can't 
use the VS6 MSDEV call any longer), however I get compilation errors when I try 
to build via command line, yet it builds fine within the client gui of Visual 
Studio.NET 2003.

The error I'm getting is:

build:

 [solution] Starting solution build.
 [solution] Building 'TT_IPL' [Debug] ...
                   [cl] Compiling 1 files to 
'C:\CCNet\Projects\TestTaker4.0\Source\Win\TestTaker\IPL\Debug'.
                   [cl] StdAfx.cpp
                   [cl] c:\CCNet\Projects\TestTaker4.0\Source\Shared\IPL\StdAfx.
h(19) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file 
or directory

BUILD FAILED - 2 non-fatal error(s), 0 warning(s)

External Program Failed: cl (return code was 2)

I'm getting this error is in spite of setting the path environment variable to 
where the afxwin.h file is located and in spite of adding the setenv task 
setting that path within the .build file.

Is it even possible for a non-dotNet C++ project that has been imported to 
VisualStudio.NET 2003 be compiled with the <solution> task?

Would appreciate any insight.

Thanks,

Robert




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to