On 4/17/07, Robert Kolev <[EMAIL PROTECTED]> wrote: > 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
One option is to use the exec task to call out to msbuild.exe like so: <target name="build-all"> <exec program="${msbuild.exe}" commandline="My.sln /t:Rebuild /p:Configuration=Release" /> </target> --Ian ------------------------------------------------------------------------- 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