Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi CPians,

I am trying to compile a C# project with Winforms under Visual Studio that I took over. I am a former C++ developer, but no experience whatsoever with C#. I have a VERY small change to do in that project, that's why I am still giving it a try without full knowledge of it, internal tool so nothing will go in the field, etc..., just in case you might wonder why I am already trying what looks like advanced stuff with my first trial at the language.

The project should compile "out of the box", e.g. out of our source control system, but I get the following error:
A first chance exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll<br />
A first chance exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll<br />
An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll<br />
Additional information: Für die angegebene Kultur oder die neutrale Kultur konnten keine Ressourcen gefunden werden. Stellen Sie sicher, dass XXXX.UserMessages.resources beim Kompilieren richtig in die Assembly XXX eingebettet wurde, oder dass die erforderlichen Satellitenassemblys geladen werden können und vollständig signiert sind.


The last message is in German, but basically says it could not find the resources for the given culture. I presume I have to either indicate another "culture" resource in the settings, or provide a resource for the "culture" that is currently the one set in my visual studio. Is that so ? Could someone point me out how to do that properly ? (I suppose I have an English/German conflict somewhere, since the project was built in an English speaking country and I am located in Germany - or I am missing some assemblies, but I am not sure where the resources are located in a C# project).

I could get to the programmer who checked in the project, but a. it would take a lot of time - no details here, and b. this should be compilable for anybody anyway (or that's the way I understand proper source control), so help would be appreciated. Thanks guys in advance.

What I have tried:

See above (I XXX'd the projects name).
Posted
Comments
kosmas kafataridis 9-May-17 7:26am    
I believe thats because you have a german framework and the man who made it had something else and that you are maybe using the multilingual tool. try to set the default language
go to project properties under the application tab press assembly information and change the neutral language to english or something else
gggustafson 9-May-17 11:31am    
I agree with kosmaskaf. If that does not work, come back.
RickZeeland 9-May-17 13:44pm    
Maybe this will help: http://stackoverflow.com/questions/1327692/c-what-does-missingmanifestresourceexception-mean-and-how-to-fix-it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900