Hi Craig, Thanks for the prompt responce - that sorted it for me.
Most of the projects in the LIVE CCNet run MSBuild from a nANT script anyway so this shouldn't be an issue. I'll look at updating the others which use the <msbuild> task with a view to nAntifying (is that even a word?) them. Cheers Dave On Jun 5, 11:50 am, Craig Sutherland <[email protected]> wrote: > Hi Dave, > > I have good news and bad. > > First, the bad news: although this is a known issue, we won't be > fixing it for 1.4.4. > > Next, the good news: the reason why we won't be fixing it is there is > a work-around. Add the following element to the <msbuild> task and it > should work: > <logger>C:\Program Files\CruiseControl.NET\Server > \ThoughtWorks.CruiseControl.MsBuild.dll</logger> > > If you have installed to a location other than C:\Program Files > \CruiseControl.NET, then you'll need to change this to match. > > There are more details on this > athttp://groups.google.com/group/ccnet-user/browse_thread/thread/413aad.... > > Craig > > On Jun 5, 10:41 pm, Dave Carson <[email protected]> wrote: > > > Got another problem now - I'm testing with a very basic project but > > the build fails because it cannot load MSBuild.! > > > This is the task: > > <tasks> > > <!-- compiles working copy --> > > <msbuild> > > <executable>C:\WINDOWS\Microsoft.NET\Framework > > \v2.0.50727\MSBuild.exe</executable> > > <workingDirectory>C:\svnworkarea\WebServices\trunk\</ > > workingDirectory> > > <projectFile>WebServiceProject_Concept.sln</projectFile > > > <buildArgs>/noconsolelogger /v:quiet /p:Configuration=Debug / > > p:ReferencePath="C:\NUnit_2.4.8\bin"</buildArgs> > > <targets>ReBuild</targets> > > <timeout>600</timeout> > > </msbuild> > > </tasks> > > > The build fails with the following being written to the logfile: > > 2009-06-05 11:37:22,537 [CCNet Server:DEBUG] The trace level is > > currently set to debug. This will cause CCNet to log at the most > > verbose level, which is useful for setting up or debugging the > > server. Once your server is running smoothly, we recommend changing > > this setting in C:\Program Files\CruiseControl.NET\server > > \ccnet.exe.Config to a lower level. > > 2009-06-05 11:37:22,567 [CCNet Server:INFO] Reading configuration file > > "C:\Program Files\CruiseControl.NET\server\ccnet.config" > > 2009-06-05 11:37:24,099 [CCNet Server:INFO] Registered channel: tcp > > 2009-06-05 11:37:24,109 [CCNet Server:INFO] CruiseManager: Listening > > on url: tcp://192.168.0.115:21234/CruiseManager.rem > > 2009-06-05 11:37:24,109 [CCNet Server:INFO] Starting CruiseControl.NET > > Server > > 2009-06-05 11:37:24,109 [acme Webservices:INFO] Starting integrator > > for project: acme Webservices > > 2009-06-05 11:37:24,119 [CCNet Server:INFO] Starting extensions > > 2009-06-05 11:37:30,609 [748:INFO] Dashboard forced Build for project: > > acme Webservices > > 2009-06-05 11:37:30,609 [748:INFO] Project: 'acme Webservices' is > > added to queue: 'DSC' in position 0. > > 2009-06-05 11:37:30,679 [acme Webservices:INFO] Project: 'acme > > Webservices' is first in queue: 'DSC' and shall start integration. > > 2009-06-05 11:37:30,689 [acme Webservices:INFO] No modifications > > detected. > > 2009-06-05 11:37:30,699 [acme Webservices:INFO] Building: Dashboard > > triggered a build (ForceBuild) > > 2009-06-05 11:37:30,779 [acme Webservices:DEBUG] Starting process [C: > > \WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe] in working > > directory [C:\svnworkarea\WebServices\trunk\] with arguments [/nologo / > > t:ReBuild /p:CCNetArtifactDirectory=C:\svnworkarea\WebServices > > \artifacts;CCNetBuildCondition=ForceBuild;CCNetBuildDate=2009-06-05;CCNetBuildTime=11:37:30;CCNetFailureUsers=;CCNetIntegrationStatus=Unknown;CCNetLabel=3;CCNetLastIntegrationStatus=Failure;CCNetListenerFile="C: > > \svnworkarea\WebServices\artifacts\acme > > Webservices_ListenFile.xml";CCNetModifyingUsers=;CCNetNumericLabel=3;CCNetProject="acme > > Webservices";CCNetProjectUrl=http://192.168.0.115/ > > ccnet;CCNetRequestSource=Dashboard;CCNetWorkingDirectory=C:\svnworkarea > > \WebServices\trunk /p:Configuration=Debug > > WebServiceProject_Concept.sln /l:"C:\Documents and Settings > > \Administrator.SERVER01.000\Local Settings\Application Data\assembly > > \dl3\2AKHNH9B.853\9DY1KXM6.VZR\a1ca215e > > \64c09bca_f6e4c901\ThoughtWorks.CruiseControl.MsBuild.dll";C: > > \svnworkarea\WebServices\artifacts\msbuild-results.xml] > > 2009-06-05 11:37:31,160 [940:DEBUG] [acme Webservices C:\WINDOWS > > \Microsoft.NET\Framework\v2.0.50727\MSBuild.exe] MSBUILD : error > > MSB1021: Cannot create an instance of the logger. Could not load file > > or assembly 'C:\\Documents and Settings\\Administrator.SERVER01.000\ > > \Local Settings\\Application Data\\assembly\\dl3\\2AKHNH9B.853\ > > \9DY1KXM6.VZR\\a1ca215e\\64c09bca_f6e4c901\ > > \ThoughtWorks.CruiseControl.MsBuild.dll' or one of its dependencies. > > The given assembly name or codebase was invalid. (Exception from > > HRESULT: 0x80131047) > > 2009-06-05 11:37:31,170 [940:DEBUG] [acme Webservices C:\WINDOWS > > \Microsoft.NET\Framework\v2.0.50727\MSBuild.exe] Switch: C:\Documents > > and Settings\Administrator.SERVER01.000\Local Settings\Application Data > > \assembly\dl3\2AKHNH9B.853\9DY1KXM6.VZR\a1ca215e > > \64c09bca_f6e4c901\ThoughtWorks.CruiseControl.MsBuild.dll;C: > > \svnworkarea\WebServices\artifacts\msbuild-results.xml > > 2009-06-05 11:37:31,190 [acme Webservices:INFO] Task execution failed > > 2009-06-05 11:37:31,190 [acme Webservices:INFO] Task output: MSBUILD : > > error MSB1021: Cannot create an instance of the logger. Could not load > > file or assembly 'C:\\Documents and Settings\ > > \Administrator.SERVER01.000\\Local Settings\\Application Data\\assembly > > \\dl3\\2AKHNH9B.853\\9DY1KXM6.VZR\\a1ca215e\\64c09bca_f6e4c901\ > > \ThoughtWorks.CruiseControl.MsBuild.dll' or one of its dependencies. > > The given assembly name or codebase was invalid. (Exception from > > HRESULT: 0x80131047) > > Switch: C:\Documents and Settings\Administrator.SERVER01.000\Local > > Settings\Application Data\assembly\dl3\2AKHNH9B.853\9DY1KXM6.VZR > > \a1ca215e\64c09bca_f6e4c901\ThoughtWorks.CruiseControl.MsBuild.dll;C: > > \svnworkarea\WebServices\artifacts\msbuild-results.xml > > > 2009-06-05 11:37:31,390 [acme Webservices:INFO] Integration complete: > > Failure - 05/06/2009 11:37:31 > > > Any ideas...? > > > Thanks in advance > > > On Jun 5, 10:58 am, Ruben Willems <[email protected]> wrote: > > > > Hi > > > > you can grab the latest build of the > > > 1.4.4http://ccnetlive.thoughtworks.com/CCNet-builds/1.4.4/1.4.4.80/ > > > > this will be the SP1 > > > > with kind regards > > > Ruben Willems > > > > On Fri, Jun 5, 2009 at 11:56 AM, Dave Carson<[email protected]> > > > wrote: > > > > > Hi Ruben, > > > > > I've just come across the NetReflector issue on my VirtualPC > > > > installation of CCNet. > > > > > Is there anything I can do while I wait for SP1? > > > > > Cheers > > > > Dave > > > > > On Jun 5, 10:46 am, Ruben Willems <[email protected]> wrote: > > > >> Hi > > > > >> unless you use plugins, not > > > > >> there is a problem with plugins due to a netreflector change, > > > >> but this is fixed already. 1.4.4 SP1 will normally be released this > > > >> weekend. > > > > >> SP1 is 1.4.4 + fixed netrefelctor dll > > > > >> with kind regards > > > >> Ruben Willems > > > > >> On Fri, Jun 5, 2009 at 11:27 AM, DilbertDave<[email protected]> > > > >> wrote: > > > > >> > Hi All, > > > > >> > I'm looking to upgrade our CCnet server from 1.4.1[.3797] to 1.4.4 > > > >> > and > > > >> > thought I'd ask whether anyone has done the same and how they got on. > > > > >> > I've read the release notes for 1.4.2, 1.4.3 and 1.4.4 and apart from > > > >> > editing the report.xml file to get the statistics working I can't see > > > >> > anything else that should cause me any problems - but an I missing > > > >> > anything? > > > > >> > Thanks In Advance
