Upgrade to 4.0.2 getting ccnet error

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
scottporter
Posts: 6
Joined: Thu Aug 04, 2005 5:07 pm

Upgrade to 4.0.2 getting ccnet error

Post by scottporter » Tue Aug 21, 2007 4:24 pm

I am now getting a build error after upgrading to 4.0.2.
i have ccnet 1.1.0 and nant 86rc3

System.BadImageFormatException: Version 2.0 is not a compatible version. at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFile(String path) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.VaultVersionIs317OrBetter() at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.GetCorrectVaultInstance() at ThoughtWorks.CruiseControl.Core.Sourcecontrol.VaultVersionChecker.GetModifications(IIntegrationResult from, IIntegrationResult to) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild) at ThoughtWorks.CruiseControl.Core.IntegrationRunner.RunIntegration(BuildCondition buildCondition

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue Aug 21, 2007 7:20 pm

The Vault 4.0 command-line client requires version 2.0 of the .NET framework. Probably it's not installed. If it is, verify the startup block of your ccservice.exe.config (if you're running the service) or ccnet.exe.config (if you're running the console app). It should look like this, to prefer the 2.0 runtime:

Code: Select all

<startup>
	<supportedRuntime version="v2.0.50727" />
	<supportedRuntime version="v1.1.4322" />
	<supportedRuntime version="v1.0.3705" />
</startup>
Ian Olsen
SourceGear

Locked