MSBuild integration on Cruise.Net

Here is the basic steps on how to integrated msbuild task on open source cruise.net to automatic your visual studio builds.

Steps

  1. Copy Rodemeyer.MsBuildToCCnet.dll to your \CruiseControl.NET\server folder 
  2. Copy msbuild2ccnet.xsl to your \CruiseControl.NET\webdashboard\xsl folder
  3. Copy cruisecontrol.css to your \CruiseControl.NET\webdashboard folder * If you have modified the dashboards stylesheet, just copy the section-project, section-error, section-warning, error and warning style.
  4. In your ccnet.config file locate the task. Change the node to c:\Program Files\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll I highly suggest that you set the verbosity level to quiet or minimal to avoid excessive large log files! /v:quiet /noconlog /p:Configuration=Debug
  5. In your dashboard.config file locate the section. Remove the compile-msbuild.xsl and msbuild.xsl if present. Theses transformations are not compatible with the MsBuildToCCNet logger. Add the msbuild2ccnet.xsl transformation instead. xsl\header.xsl xsl\msbuild2ccnet.xsl xsl\modifications.xsl [...]

Thats it! Just force a build and enjoy your new report. 

Configuration xml file

		

MyProject

D:\vhosts\MyProject



http://192.168.192.4:8080

TFSSERVICE

TFSSERVICE

mydomain.com.np

$/myproject/myproject

D:\vhosts\MyProject

false

dotnet









C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\MSBuild.exe

D:\vhosts\MyProject

myproject.sln

/v:quiet /noconlog /p:Configuration=Debug

Build

200

c:\Program Files\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll







 
blog comments powered by Disqus