We are currently having issues with getting TypeMock 4.3.1 to run on our build server. We are using
FinalBuilder
5.5.707 and CCNet 1.4.3400 to run our builds. TypeMock is auto deployed. The build server is running Windows 2008 x64, but the TypeMock assemblies are the x86 version as we cannot get FinalBuilder to call the x64 version of MSBuild and so TypeMock x64 fails on auto deploy.
With 4.2.4 everything worked just fine, but as soon as we swapped the TypeMock files we include with the project files to 4.3.1 the auto deploy still works just fine, but the test no longer run. The error message we get is:
[Execute Program [ C:FinalBuilderAquaFutureMainlineWorkingFolderSWrdPartyTypeMockinTMockRunner.exe ]]
Executing : C:FinalBuilderAquaFutureMainlineWorkingFolderSWrdPartyTypeMockinTMockRunner.exe
With Command Line : -target 3.5 -link none "C:FinalBuilderAquaFutureMainlineWorkingFolderSWrdPartyMbUnitinMbUnit.Cons.exe" /report-name-format:UnitTestAquafutureTest.dll /report-folder:../UnitTestLogs /report-type:xml /filter-category:UnitTest AquafutureTest.dll
Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'Configuration, Version=4.3.1.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Configuration, Version=4.3.1.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2'
at e.a(String[] A_0)
=== Pre-bind state information ===
LOG: User = NT AUTHORITYSYSTEM
LOG: DisplayName = Configuration, Version=4.3.1.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2
(Fully-specified)
LOG: Appbase = file:///C:/FinalBuilder/AquaFuture/Mainline/WorkingFolder/SW/3rdParty/TypeMock/bin/
LOG: Initial PrivatePath = NULL
Calling assembly : TMockRunner, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Private path hint found in configuration file: PrivateAssemblies.
LOG: Using application configuration file: C:FinalBuilderAquaFutureMainlineWorkingFolderSWrdPartyTypeMockinTMockRunner.exe.config
LOG: Using machine configuration file from C:WindowsMicrosoft.NETFramework642.0.50727configmachine.config.
LOG: Post-policy reference: Configuration, Version=4.3.1.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2
LOG: Attempting download of new URL file:///C:/FinalBuilder/AquaFuture/Mainline/WorkingFolder/SW/3rdParty/TypeMock/bin/Configuration.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
Program returned code : -532459699