You can use the msbuild task.

Or, you can get the latest nightly build which does support 2005
solutions.

BOb


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Kolev
Sent: Tuesday, April 17, 2007 2:10 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Nant build question for Solution, projects...

I am in the process of setting up my first NAnt solution build to handle
several projects included in the solution and generate dll's.... based
on .sln and .csproj
In the process I discovered that solution tasks is not supported in .NET
Framework with the latest NAnt and got the wonderful message:
***
Microsoft Visual Studio.NET 2005 solutions are not supported.
***

So now I need some guidance from the experts... Is there a task that I
can use to build .csproj (which I was not able to find) or do I need to
use the csc task and build each dll

Last but not least, in the <references> is it wise to use wild cards eg:

<target name="gen-some-dll">
        <csc target="library" output="${dist.path}/some.dll"
debug="false">
            <sources>
                <include name="${src.path}/some.cs" />
            </sources>
            <references>
                <include name="${lib.path}/*.dll" />
            </references>
        </csc>
</target>

Thank you for your responses,

Cheers,  rk~




------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to