I am new to NAnt and am currently playing around to determine what I can do.
Currently, I am most interested in using NAnt to build my VS .NET Solution file
due 120 and growing project files. Plan to convert over entirely a little at a time.
I have modified the build file I found under D:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\
and am currently working through the build issues.
The VS Solution file is comprised of C# and C++ projects. The VS .NET Solution
builds fine within VS. Using Nant, I am currently getting
[cl] Command line error D2021 : invalid numeric argument '/FU'
as an error when I build for my C++ Projects.
I stepped back and tried to build the sample app
D:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\cpp\WinForms
and got the same results. I have included the results at the bottom of this note.
I looked through the mail archive but didn't find anything pertaining to this issue.
Any information on how to debug this would be appreciated. A reference
to potential error messages and what they mean would be helpful as well.
Dave
==============================================
D:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\cpp>dir Volume in drive D is New Volume Volume Serial Number is 1025-CA2E
Directory of D:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\cpp
03/07/2005 07:44a <DIR> .
03/07/2005 07:44a <DIR> ..
08/19/2004 08:28a 347 default.build
03/07/2005 08:22a <DIR> WinForms
1 File(s) 347 bytes
3 Dir(s) 4,627,668,992 bytes freeD:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\cpp>nant NAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net
Buildfile: file:///D:/Program Files/NAnt/nant-0.85-rc2/examples/Solution/cpp/default.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: rebuild
rebuild:
[nant] D:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\cpp\WinForms\cpp.build rebuild
Buildfile: file:///D:/Program Files/NAnt/nant-0.85-rc2/examples/Solution/cpp/WinForms/cpp.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: rebuild
clean:
[delete] Deleted 4 directories.
build:
build.winforms:
[solution] Starting solution build.
[solution] Building 'WinForms' [release] ...
[cl] Compiling 1 files to 'D:\Program Files\NAnt\nant-0.85-rc2\examples\Solution\cpp\WinF
orms\obj\Release'.
[cl] Command line error D2021 : invalid numeric argument '/FU'
BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
External Program Failed: cl (return code was 2)
Total time: 0.3 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 0.4 seconds.
_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
