There is an msbuild task in nant-contrib (http://nantcontrib.sourceforge.net/release/latest/help/tasks/msbuild.ht ml) I use it like this for web apps:
<msbuild target="${msbuild.target}" > <arg value="/p:AspNetConfiguration=${current.build.config}" /> <arg value="/verbosity:${msbuild.verbosity}" /> <property name="Configuration" value="${current.build.config}" /> </msbuild> Where current.build.config is Debug/Release etc, you could add the project attribute to specify the project or solution file, but I just leave it to chose the one in the current dir. Dave ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Lambrou Sent: 27 March 2007 09:23 To: NANT Mailing List Subject: Re: [NAnt-users] Infomation Required Deepak, I'm not exactly sure what support NAnt has specifically for building VS 2005 solutions, as it's been a little while since I looked into this. However, we solve this problem on our own build server by using an <exec/> task to invoke MSBuild, which is what VS 2005 appears to use internally to build solutions. It's in the .NET 2.0 runtime folder, typically C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe - invoke it with the /? option on the command line for usage infomration, but it basically boils down to the following: msbuild.exe MySolution.sln /t:Rebuild /p:Configuration=Release Chris ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Deepak Surendran Sent: 27 March 2007 09:09 To: NANT Mailing List Subject: [NAnt-users] Infomation Required Hiya, I need some information regading NANT. We are not able to compile the solution for VS 2005 using NANT.Will this feature will be avaible in the next version or the upcoming version. Regards, Deepak S ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users