chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes

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)

 

asked by nsoonhui (59.1k points)
edited by Bar

13 Answers

0 votes
I am having the same problem. VS2008, Typemock 5.1 evaulation version. Using NUnit. Get the error

System.Resources.MissingManifestResourceException : 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.


I am working on a PC that is locked, ie. no admin rights, so not sure if that is related. However, I see you had a solution, could you please let me know what it is.
answered by alisonjo (140 points)
0 votes
I am having the same problem. VS2008, Typemock 5.1 evaulation version. Using NUnit. Get the error

System.Resources.MissingManifestResourceException : 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.


I am working on a PC that is locked, ie. no admin rights, so not sure if that is related. However, I see you had a solution, could you please let me know what it is.


You can use a proper license ( not trial license) or you must write in to ask for a patch.
 

answered by nsoonhui (59.1k points)
edited by Bar
0 votes
Note for all: this issue is resolved in version 5.1.1
Doron
answered by doron (16.5k points)
...