When running test using Gallio (3.1.313) and TypeMock higher than 5.2.3 on an x64 build server the test run fails to start with the error: "Gallio.Runtime.RuntimeException: Could not resolve instance of component 'MbUnit.TestFramework'. ---> Gallio.Runtime.RuntimeException: Could not resolve the component handler of component 'MbUnit.TestFramework'. ---> Gallio.Runtime.RuntimeException: Could not resolve the component type of component 'MbUnit.TestFramework'. ---> Gallio.Common.Reflection.ReflectionResolveException: Could not resolve type 'MbUnit.Core.MbUnitTestFramework, MbUnit'. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I have tried with 5.3.4 and 5.3.5 and both cause the failure, while 5.2.3 work fine.
This is a known limitation it seems (
http://groups.google.com/group/gallio-user/browse_thread/thread/16b559d4e613d912?hl=en) and I wonder if this is something you are going to fix soon in a coming release (5.3.6?).
PS!
When we are on the topic of TypeMock and x64, what is the status of the EntLib incompatibility (
https://www.typemock.com/community/viewtopic.php?t=1079)? I am also struggling with this, but this not as important since it has a workaround by forcing tmockrunner, gallio.echo and gallio.host to run in 32bit mode.