In trying to run tests in my builds I'm getting the exception below. This is a new purchase for us, so any assistance is greatly appreciated.
Unit Test Adapter threw exception:
Type is not resolved for member 'TypeMock.TypeMockException,TypeMock, Version=7.0.6.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2'..
I followed the online guidance.
My build account is in the
Administrators group and has full permission to modify the following registry keys (these were the only two that seemed to produced an issue):
HKEY_LOCAL_MACHINESOFTWAREWOW6432Node
HKEY_LOCAL_MACHINESOFTWARETypeMock
I updated the build definition to ensure it was building x86 (as that's the version of MockWeaver and ProfileLinker that are in custom assemblies... see below).
I update the build configuration to ensure the test projects were being built (though their target platform is still "Any CPU")
Here's my CustomAssemblies folder:
http://screencast.com/t/OTwhMwuSeZ
This is what my template looks like:
http://screencast.com/t/D3ihDOdRpQq
Here's what the diagnostic log file shows (I added the <SNIP>'s to hide sensitive info):
TypeMockRegister
Initial Property Values
AutoDeploy = True
Company = <SNIP>
License = <SNIP>
Typemock Isolator Auto Deployed, version 7.0.6.0
Final Property Values
AutoDeploy = True
Company = <SNIP>
License = <SNIP>
00:00
TypeMockStart
Initial Property Values
EvaluationFolder =
Link =
LogLevel =
LogPath =
ProfilerLaunchedFirst = False
Target =
Final Property Values
EvaluationFolder =
Link =
LogLevel =
LogPath =
ProfilerLaunchedFirst = False
Target =
Version = 7.0.6.0
00:39
If Not TestSpecs Is Nothing
Initial Property Values
Condition = True
<SNIP>
I'm happy to provide any additional information.