471,605 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

MissingManifestResourceException after renaming namespace

Hello,

I started a project in VS and chose a stupid default name like
WindowsApplication11. I'm finished coding and I want to rename my
namespace to something more descriptive. When I change all instances of
"namespace WindowsApplication11" to something else, I get a runtime
error MissingManifestResourceException in mscorlib.dll saying that it
isn't able to find my old namespace.

How can I rename my namespace without errors?

Dec 20 '05 #1
1 2231
Hello,

Examine your RESX files. Usually Visual Studio names a form's or a
component's resources it stores to the RESX files with the namespace name
included (because it uses quite a specific way of loading resources based by
the type name of the class to which the resource relates). Therefore, after
you have renamed the namespace, you should check the resource names and make
necessary edits manually.

P.S. Be sure to back up all files you are going to change!

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
<sh****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hello,

I started a project in VS and chose a stupid default name like
WindowsApplication11. I'm finished coding and I want to rename my
namespace to something more descriptive. When I change all instances of
"namespace WindowsApplication11" to something else, I get a runtime
error MissingManifestResourceException in mscorlib.dll saying that it
isn't able to find my old namespace.

How can I rename my namespace without errors?


Dec 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Richard L Rosenheim | last post: by
2 posts views Thread by sklett | last post: by
1 post views Thread by Rick Palmer | last post: by
3 posts views Thread by =?Utf-8?B?TWljaGFlbCBIYWJlcmljaHRlcg==?= | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.