I got the following exception this morning, when I upgraded to 5.1. This happens to every tests. Some configuration problem must be going on here.
failed: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "c2.resources" was correctly embedded or linked into assembly "TypeMock" at compile time, or that all the satellite assemblies required are loadable and fully signed.
System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "c2.resources" was correctly embedded or linked into assembly "TypeMock" at compile time, or that all the satellite assemblies required are loadable and fully signed.
Source: mscorlib
StackTrace:
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at c2.a()
at c2..ctor(Int32 A_0)
at be.f()
at TypeMock.MockManager.Init(Boolean collectAllCalls)
at TypeMock.MockManager.Init()
at TypeMock.MockManager.f(Type A_0)
at TypeMock.MockManager.Mock(Type type, Constructor mockConstructors)
at TypeMock.MockManager.MockObject(Type type, Constructor mockConstructors, Object[] args)
at TypeMock.MockManager.MockObject[TMockedType](Constructor mockConstructors)
at cb.StubFirstLevel[T](BindingFlags flags)
at cb.Instance[T](Members behavior)