Hello,
I am trying to convert our TFS build process to use the Auto Deploy capability described in the documenation. I believe I have configured everything correctly. However when the build gets to registering and running typemock, I am getting some errors/warnings in the log and all of the tests fail becuase type mock is not running properly. The autodeploy path seems to be resolving correctly, it just appears to be an issue with registry access. Here is the typemock relevant ouput from the log.
TypeMockRegister
Execute TypeMockRegister, Version=8.3.0.98
Source AutoDeploy location is '$/Blah.Retail/Dependencies/Typemock/AutoDeploy'
AutoDeploy translated to 'C:Builds2Blah.RetailRetail.API.Dev-SharedSourcesDependenciesTypemockAutoDeploy'
TypeMockRegister, Company='Blah', License=’BlahLicense’, AutoDeploy=True, DeployRootDirectory=C:Builds2Blah.RetailRetail.API.Dev-SharedSourcesDependenciesTypemockAutoDeploy
Access to the registry key 'HKEY_LOCAL_MACHINESOFTWAREWow6432NodeTypeMock' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck) at Configuration.RegistryAccess.CreateSubKey(RegistryKey reg, String subkey) at Typemock.Common.Configuration.Core.RegistryManager.CreateTypemockKey(RegistryKey rootKey) at Typemock.Common.Configuration.Core.RegistryManager.CreateTypemockKey() at TypeMock.CLI.Common.TypeMockRegisterInfo.Execute() at TypeMock.TFS.TypeMockCodeActivityBase.Execute(CodeActivityContext context)
TypeMockStart
Execute TypeMockStart, Version=8.3.0.98
TypeMocktart: Target = , ProfilerLaunchedFirst = False, Link = , LogLevel = 0, LogPath = , DisableAutoLink = False
The registryenvironment values of Typemock Isolator seemes to be corrupt, please try re-installing Isolator.
at TypeMock.Configuration.Core.GetInstallDir() at TypeMock.CLI.Common.TypeMockStartInfo.Execute() at TypeMock.TFS.TypeMockStart.ExecuteInternal() at TypeMock.TFS.TypeMockCodeActivityBase.Execute(CodeActivityContext context)
Any help in resolving this issue would be greatly appreciated.
Thanks,
Jesse