Elisha - Negative.
Just to be sure I copied the
entire typemock directory to my bin directory and tried to run tmockrunner.exe.
I get the following warning when doing so (after all tests fail with the above "could not find typemock.arragneactassert version 6.0.2 etc" error):
Run has the following issue(s):
Warning: Test Run deployment issue: Failed to deploy dependencies for test stora
ge 'D: fsP01784 SBR ACT SRODevSBRACTServiceImplementationTestsinDebugse
rviceimplementationtests.dll': System.InvalidOperationException: Code execution
is prohibited in an assembly loaded as ReflectionOnly.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke
Attr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib
ilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke
Attr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Typemock.Interceptors.Profiler.InternalMockManager.ReflectionCallbacks.OnI
sMockedReflectionCallback(Object context, String typeName, String methodName, Ob
ject methodGenericParameters, Boolean isInjected, Boolean isIntercepted)
at Typemock.Interceptors.Profiler.InternalMockManager.isMocked(Object that, S
tring typeName, String methodName, Object methodParameters, Boolean isInjected,
Boolean isIntercepted)
at System.Text.RegularExpressions.Regex.Match(String input)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.NeedToBeFilter
edOut(String assemblyName)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.GetDependentAs
sembliesInternal(String assemblyString)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.ProcessChildre
n(Assembly assembly)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.GetDependentAs
sembliesInternal(String assemblyString)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.ProcessChildre
n(Assembly assembly)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.GetDependentAs
semblies(String path)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadWorker.GetDependentAs
semblies(String path)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadStrategy.GetDependent
Assemblies(String path)
at Microsoft.VisualStudio.TestTools.Utility.AssemblyHelper.GetDependentAssemb
lies(String path, DependentAssemblyOptions options, String configFile)
at Microsoft.VisualStudio.TestTools.TestManagement.DeploymentManager.GetDepen
dencies(String master, String configFile, TestRunConfiguration runConfig, Deploy
mentItemOrigin dependencyOrigin, List`1 dependencyDeploymentItems, Dictionary`2
missingDependentAssemblies)
at Microsoft.VisualStudio.TestTools.TestManagement.DeploymentManager.ProcessN
ewStorage(String testStorage, DeploymentHelper helper, DeploymentItemOriginType
originType, List`1 deploymentCoverageItems, TestRunConfiguration runConfig, List
`1 dependencyDeploymentItems, Dictionary`2 missingDependentAssemblies)
I don't get this waring when running the same tmockrunner command with 6.0.2 installed. I am not sure if it is related.