Hello

 

I+IBk-m trying to get Nant to build a VS.Net 2003 solution under Mono-1.0.1 on Windows 
XP.

 

What I did:

 

1. Download and install Mono-1.0.1 using Windows Installer from the official Mono site

2. Download latest nightly build of Nant - nant-0.85-20040820 and unzipped into folder

3. Created a simple C+ACM- Console Application in VS.Net (really just a HelloWorld one 
liner)

4. Created this HelloWorld.build file:

 

+ADw-project name+AD0AIg-HelloWorld+ACI- default+AD0AIg-solution.release+ACIAPg-

    +ADw-target name+AD0AIg-solution.release+ACI- description+AD0AIg-Build the project 
using the vs.net solution file.+ACIAPg-

            +ADw-solution solutionfile+AD0AIg-HelloWorld.sln+ACI- 
configuration+AD0AIg-release+ACI- outputdir+AD0AIg-mono/bin/release+ACI- 
verbose+AD0AIg-true+ACIAPgA8-/solution+AD4-                               

    +ADw-/target+AD4-

+ADw-/project+AD4-

5. Ran from the command line: 
c:+AFw-coding+AFw-projects+AFw-net+AFw-HelloWorld+AD4-c:+AFw-coding+AFw-nant-0.85-20040820+AFw-bin+AFw-NAnt.exe
 -t:mono-1.0

6. Received the output below (any hints would be appreciated+ACEgHQ-)

7. I did debug Nant in VS.net and the problem (the file not found) appears to be that 
it tries to invoke +IBw-csc.exe+IB0- despite +IBw-mcs.exe+IB0- being in 
Nant.exe.config for the mono-1.0 framework. 

 

NAnt 0.85 (Build 0.85.1693.0+ADs- net-1.0.win32+ADs- nightly+ADs- 20.08.2004)

Copyright (C) 2001-2004 Gerry Shaw

http://nant.sourceforge.net

 

Buildfile: file:///c:/coding/projects/net/HelloWorld/HelloWorld.build

Target(s) specified: solution.release 

 

 

solution.release:

 

 +AFs-solution+AF0- Starting solution build.

 +AFs-solution+AF0- Loading projects...

 +AFs-solution+AF0- Loading project 
'c:+AFw-coding+AFw-projects+AFw-net+AFw-HelloWorld+AFw-HelloWorld+AFw-HelloWorld.csproj'.

 +AFs-solution+AF0- Gathering additional dependencies...

 +AFs-solution+AF0- Fixing up references...

 +AFs-solution+AF0- Building 'HelloWorld' +AFs-release+AF0-...

 +AFs-solution+AF0- Copying references:

 +AFs-solution+AF0- Starting compiler...

 +AFs-solution+AF0- Commands:

             +AFs-solution+AF0-     /target:exe

             +AFs-solution+AF0-     /nologo

             +AFs-solution+AF0-     /filealign:4096

             +AFs-solution+AF0-     /define:TRACE

             +AFs-solution+AF0-     /warn:4

             +AFs-solution+AF0-     /baseaddress:11000000

             +AFs-solution+AF0-     /optimize+-

             +AFs-solution+AF0-     /debug-

             +AFs-solution+AF0-     /incremental-

             +AFs-solution+AF0-     /checked-

             +AFs-solution+AF0-     /unsafe-

             +AFs-solution+AF0-     /warnaserror-

             +AFs-solution+AF0-     
/out:+ACI-c:+AFw-coding+AFw-projects+AFw-net+AFw-HelloWorld+AFw-mono+AFw-bin+AFw-release+AFw-HelloWorld.exe+ACI-

             +AFs-solution+AF0-     
/win32icon:+ACI-c:+AFw-coding+AFw-projects+AFw-net+AFw-HelloWorld+AFw-HelloWorld+AFw-App.ico+ACI-

             +AFs-solution+AF0-     
/r:+ACI-C:+AFw-coding+AFw-Mono-1.0.1+AFw-lib+AFw-mono+AFw-1.0+AFw-System.Data.dll+ACI-

             +AFs-solution+AF0-     
/r:+ACI-C:+AFw-coding+AFw-Mono-1.0.1+AFw-lib+AFw-mono+AFw-1.0+AFw-System.dll+ACI-

             +AFs-solution+AF0-     
/r:+ACI-C:+AFw-coding+AFw-Mono-1.0.1+AFw-lib+AFw-mono+AFw-1.0+AFw-System.XML.dll+ACI-

             +AFs-solution+AF0-     
+ACI-c:+AFw-coding+AFw-projects+AFw-net+AFw-HelloWorld+AFw-HelloWorld+AFw-Class1.cs+ACI-

             +AFs-solution+AF0-     
+ACI-c:+AFw-coding+AFw-projects+AFw-net+AFw-HelloWorld+AFw-HelloWorld+AFw-AssemblyInfo.cs+ACI-

 

BUILD FAILED

 

Unexpected error while compiling project 'HelloWorld'

    The system cannot find the file specified

 

Total time: 0.2 seconds.




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to