|
CruiseControl.NET : Visual Studio Task
This page last changed on Mar 14, 2009 by dcameron.
Most complex build processes use NAnt or MSBuild to script the build. However, for simple projects that just need to build a Visual Studio.NET solution, the Visual Studio task <devenv> provides an easier method. ExamplesMinimalist example: <devenv> <solutionfile>src\MyProject.sln</solutionfile> <configuration>Debug</configuration> </devenv> Full example: <devenv> <solutionfile>src\MyProject.sln</solutionfile> <configuration>Debug</configuration> <buildtype>Build</buildtype> <project>MyProject</project> <executable>c:\program files\Microsoft Visual Studio .NET\Common7\IDE\devenv.com</executable> <buildTimeoutSeconds>600</buildTimeoutSeconds> <version>VS2002</version> </devenv> Configuration Elements:
If executable and version are not specified, CC.NET will search the registry for VS.NET 2008, 2005, 2003, and 2002 in that order. If you need to use a specific version when a newer version is installed, you should specify the version property to identify it, or specify the executable property to point to the location of correct version of devenv.com.
|
| Document generated by Confluence on Mar 14, 2009 02:55 |