I think that the devenv task you've got there should work but I'm
using msbuild instead:

   <tasks>
     <msbuild>
       <executable>C:\WINDOWS\Microsoft.NET\Framework
\v3.5\MSBuild.exe</executable>
       <workingDirectory>D:\AutomatedBuilds\ProjectName\</
workingDirectory>
       <projectFile>D:\AutomatedBuilds\VS2008Solutions
\ProjectName.sln</projectFile>
       <buildArgs>/noconsolelogger /p:Configuration=Debug /v:minimal</
buildArgs>
       <targets>Build</targets>
       <timeout>900</timeout><!-- 15 Minutes -->
        <!-- Logger downloaded from 
http://ccnetlive.thoughtworks.com/MSBuildXmlLogger%2DBuilds/
-->
       <logger>C:\Program Files\CruiseControl.NET\server
\ThoughtWorks.CruiseControl.MSBuild.dll</logger>
     </msbuild>

     <artifactcleanup cleanUpMethod="KeepLastXBuilds"
cleanUpValue="50" />
   </tasks>

My solution contains a Website project, a Web Application project and
several DLL projects.

Reply via email to