Title: Message
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.
-----Original Message-----
From: Cromwell, Ryan [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 8:32 AM
To: Nicklas Norling; Lee M Seidel
Cc: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Solutionfile Problem - Newbie

This is in response to Lee – I don’t have your original.

 

Are you setting the build order yourself through the Build Order dialog?  If so, I don’t believe that would be used.  The task generates the build order itself by checking the project dependencies.  That said, if your hello world projects do not reference each other, there is no build order.

 

As for the copying of everything, are you sure the assemblies are being copied or are they xml files?  If so, those are the help files I believe. 

 

FYI: Please don’t quote me on either one!  It’s been a couple weeks since I skimmed the solution task code.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Nicklas Norling
Sent: Friday, January 23, 2004 3:30 AM
To: 'Lee M Seidel'
Cc: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Solutionfile Problem - Newbie

 

Hi.

 

I've been using the solution task quite extensivly with solution files with over 30 projects.

I'v never had a problem where project dependencies did not work as of the final 0.84

release. Can you create a reproducable case on this?

 

As for mono, I'm not quite sure I understand, can you describe the steps to reproduce?

What versions are you using, what platforms etc. would be nice.

/Nicke

-----Original Message-----
From: Lee M Seidel [mailto:[EMAIL PROTECTED]
Sent: den 23 januari 2004 05:09
To: [EMAIL PROTECTED]
Subject: [Nant-users] Solutionfile Problem - Newbie

I am a newbie to using NAnt.....I loaded and built the 01/21 build.  I have a VS 2003 solution file that has 6 projects.  The 6 projects are just simple hello world examples done in different styles. 

 

I have two problems:

 

1.

When I run the build using the NET-1.1 framework the projects all compile fine but the project predecessor order is ignored.  In this case it is not an issue but for real multi-project Solutions that have to be compiled in a certain order to compile successfully.

 

2.

When I switch the NAnt.exe.config to use the mono-1.0 framework(I have mono .29 installed and updated the config files version) something weird happens and it looks like the whole .Net Framework ends up in the folder where the assembled project is to go.

 

Any help would be appreciated.

 

Thanks.

 

Lee

Reply via email to