Ryan...Yes I
was using the build order dialog and the projects actually don't depend on each
other...that would explain the order issue....I will check it out with making
the projects dependent themselves and see how that works.
As for the
Mono compile issue I am not sure if what I am doing to do the compile is
correct....I simply changed the default framework from net-1.1 to mono-1.0 in
the NAnet.exe.config file in the directory that I cam calling NAnt from...which
is the directory I built NAnt into using the .NET 1.1 framework. When the
build runs I get the following message:
[solution] Building Hello_World_3
[Release]...
[copy] Copying 113 files to 'C:\Visual Studio Local\C# Hello World\Hello_World_Examples\Hello_World_3\bin\Release\'. I should get
a clean compile, so I would think, just like I do when I have the default
set to net-1.1. The 113 files that are copied to the Release directory are
.NET framework files....things like System.Directory.Services.dll and
System.XML.dll. When I try to create an assembled version of NAnt with
mono I get the following error...perhaps it is mono .29?
[nant]
C:\NAnt0121\src\NAnt.Win32\NAnt.Win32.build build
Buildfile: file:///C:/NAnt0121/src/NAnt.Win32/NAnt.Win32.build
Target(s) specified: build build: [csc] Compiling 7 files to 'C:\NAnt0121\build\mono-1.0.win32\nant-0.85-debug\bin\NAnt.Win32Tasks.dll'. C:\NAnt0121\src\NAnt.Win32\Tasks\ServiceControllerTask.cs(212) error CS0246: Cannot find type `ServiceController' C:\NAnt0121\src\NAnt.Win32\Tasks\ServiceControllerTask.cs(235) error CS0246: Cannot find type `ServiceController' C:\NAnt0121\src\NAnt.Win32\Tasks\ServiceControllerTask.cs(263) error CS0246: Cannot find type `ServiceController' C:\NAnt0121\src\NAnt.Win32\Tasks\ServiceControllerTask.cs(278) error CS0246: Cannot find type `ServiceController' C:\NAnt0121\src\NAnt.Win32\Tasks\ServiceControllerTask.cs(321) error CS0246: Cannot find type `ServiceController' Compilation failed: 5 error(s), 0 warnings BUILD FAILED C:\NAnt0121\src\NAnt.Win32\NAnt.Win32.build(11,10): External Program Failed: C:\Program Files\Mono-0.29\bin\mcs.exe (return code was 1) Total time: 0.7 seconds.
|
Title: Message
- [Nant-users] Solutionfile Problem - Newbie Lee M Seidel
- RE: [Nant-users] Solutionfile Problem - Newbie Nicklas Norling
- RE: [Nant-users] Solutionfile Problem - Newbie Cromwell, Ryan
- Re: [Nant-users] Solutionfile Problem - Newbie Lee M Seidel
- Re: [Nant-users] Solutionfile Problem - Newbi... Gert Driesen
- RE: [Nant-users] Solutionfile Problem - Newbie Lee M Seidel
- Re: [Nant-users] Solutionfile Problem - Newbie Gert Driesen
- RE: [Nant-users] Solutionfile Problem - Newbi... Lee M Seidel