Has anyone gotten a MSBuild task in Cruise Control to load a logger?
I’ve tried variations but it always fails to load the logger.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\builds\MVC2Test\trunk\MVC2Test\MVC2Test.sln
/noconsolelogger /p:Configuration=CruiseControl /v:diag
Build
15
ThoughtWorks.CruiseControl.MsBuild.XmlLogger, C:\Program Files (x86)\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll
Please post a working exclusively .NET 4.0 example if possible.
Thanks
For me, getting .NET 4.0 and Cruise Control .NET going came down to this:
1) Avoid 64 bit MSBuild like the plague… have a working 32 bit build first.
2) Just specify the fully qualified path to the logger, not the typical class,
assembly format.
3) Deploy the targeting pack from the VS 2010 disc. \WCU\MTPack\NetFx_DTP.msi EXTUI=1 /log install.log
4) Always prove MSBuild works from the command line first.
5) Create a configuration in your solution file and include only the projects you want to build
Now if Microsoft would only let us easily install MSTest on our Build Servers… People have been begging for 5 years, how can Microsoft have learned so little about testing?
Good luck all.