473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 2318
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Adam Barr | last post by:
I have a tag foo that I want to copy unchanged when it is a subtag of bar, so I have a template (x is the namespace for the document): <xsl:template match="x:bar/x:foo"> <xsl:copy>...
5
by: Richard L Rosenheim | last post by:
Correct me if I'm wrong... It appears that out of the 1800+ classes in the .Net framework, there isn't a file rename method (discounting the rename function in the vb namespace). And that the...
3
by: Jesse | last post by:
Hi together, I've a problem with compiling an application with a build-Script and run it after. Several resource-files I compile with resgen.exe and put the files into a folders of the...
2
by: sklett | last post by:
I'm getting the exception: <exception text> An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find...
1
by: Carlos | last post by:
Hi all, I just got an unhandled exception of type MissingManifestResourceException but do not know what it means. I declare a class before the main form, and within the namespace. can...
1
by: Rick Palmer | last post by:
Can someone explain what the hell a MissingManifestResourceException is and why I'm getting one every time I add a particular picture to my form? I've even went as far as using a button instead of...
0
by: Rob Dob | last post by:
Hi, I have a VS2003 C# asp.net project that has been converted into a VS2005 project. Everything seemed to work well until I make a modification to anything within the Component Designer...
2
by: Dan Neely | last post by:
I'm trying to use an ImageComboBox in my app. The control worked fine in a demo app, but the contructor throws a System.Resources.MissingManifestResourceException with the text: "Could not find...
3
by: =?Utf-8?B?TWljaGFlbCBIYWJlcmljaHRlcg==?= | last post by:
Hallo, I have a problem with a MissingManifestResourceException. I'm trying by days without finding any solution. Shortly the context: I have a .Net application (APPL_1), which does the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.