hi,

I'm tring to build solution with vcproj (c++) projects.

This is my .build script:
<?xml version="1.0"?>
<project name="CBN Desktop" default="debug" basedir="." >

    <target name="debug">
        <solution solutionfile="Desktop.sln" configuration="debug" />
    </target>
</project>

and this is output that I get:
____________________________________________________________________
NAnt 0.85 (Build 0.85.1664.0; net-1.0.win32; nightly; 22.7.2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///c:/_Temp/2/src/desktop/modules/cbn4.build
Target(s) specified: debug


debug:

 [solution] Starting solution build.
 [solution] Building 'CBNTrace' [debug]...
       [cl] Compiling 1 files to 'c:\_Temp\2\bin\desktop\CBNTrace\debug'.
       [cl] CBNTrace_i.c
       [cl] c1 : fatal error C1083: Cannot open source file:
'..\..\..\..\bin\desktop\gensrc\debug\CBNTrace_i.c': No such file or
directory

Build failed

External Program Failed: cl (return code was 2)

Total time: 0.2 seconds.
____________________________________________________________________________

The problem I think is that NAnt starts compiling at wrong file, for
example CBNTrace_i.c is generated during build proces.

What I'm doing wrong?
I'm newbee in NAnt and I'm desperate, plese help.

My nant is working ok, I'm also building my project in VS.NET without any
problems.




------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to