Monday, April 09, 2012 9:31 PM
I created an empty form (using Windows Forms) and localized it's title text into German, using the VS forms designer.
If I compile and run it in Visual C# 2010 Express SP1, I always get MissingManifestResourceException when the form tries to load its resources. Furthermore, VS doesn't create a satellite assembly for the German translation.
The same thing used to work one week ago. The error started appearing when I installed Visual Studio 2010 Professional.
Re-install of Visual Studio didn't solve it. When I re-compile the project with SharpDevelop, the same error occurs.
If I load the same test project on a virtual machine with a fresh VS2010 install, it works just fine. Here is the test project: http://www.wikifortio.com/864312/test_express.zip
So basically my install of VS is doing something wrong with the resources, while it works just fine on a fresh install. How can I troubleshoot this?
- Moved by Rudedog2MVP Monday, April 09, 2012 9:57 PM : move to more appropriate forum : (From:Visual C# General)
Wednesday, April 11, 2012 8:08 AMModerator
Welcome to the MSDN forum.
I tested your project on my side. It works normally without any exception thrown.
First, please repair Visual C# 2010 Express in Control Panel.
Second, reapply Service Pack 1 again.
If you encounter any problems during the repair, please use this tool to collect the fresh logs: http://www.microsoft.com/download/en/details.aspx?id=12493
Then upload vslogs.cab to a public website like SkyDrive or send it to me directly (email@example.com).
Third, please create a new project to test if this exception will occur or not.
I found a helpful page you can take a look at: http://support.microsoft.com/kb/318603
I hope this helps.
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Alexander SunModerator Tuesday, April 17, 2012 9:33 AM