Note that MSBuild only supports C# and VB.NET projects. If you have any managed C++ projects, you can invoke Visual Studio directly. Run devenv.exe /? for help on command-line arguments, but it basically boils down to this:
"%ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" <SolutionFile> /Build Of course, if you plan to run this on a build server, it means you'll need a licenced copy of Visual Studio installed on it - I think an MSDN subscription should suffice. Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Archer Sent: 17 April 2007 19:23 To: Robert Kolev; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant build question for Solution, projects... 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 ------------------------------------------------------------------------- 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