473,396 Members | 1,827 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,396 software developers and data experts.

One solution with 2 projects - Getting Exception "MissingManifestResourceException" on shared form


I am creating a solution with two projects. Basically, they share a
few common class files and forms. I finished one project, and it
compiles and runs fine. I just finished bringing in the second
project, and I get the following error on one of the forms when it is

An unhandled exception of type
'System.Resources.MissingManifestResourceException ' occurred in

Additional information: Could not find any resources appropriate for
the specified culture (or the neutral culture) in the given assembly.
Make sure "FormLogin.resources" was correctly embedded or linked into
assembly "WebTMS_Administration".
baseName: FormLogin locationInfo: WebTMS_Administration.FormLogin
resource file name: FormLogin.resources assembly:
WebTMS_Administration, Version=1.0.1389.16480, Culture=neutral,

The error is due to a PictureBox that contains an image. The funny
thing is that this SAME form is used in my first project and runs

I would think that sharing forms across two projects in one solution
would be a relatively common thing to do. I have tried removing and
re-adding the form (They are added to the project by using the "Link
File.." option when doing a "Add --> Add Existing Item..." on the
project.) I even added the image files to the project and also tried
setting the image file's "Build Action" to "Embedded Resource" without
any success. I also tried re-setting the image reference. I also
tried removing the re-adding the form. Nothing seems to help.

Has anyone else shared a form across two projects in one VS.NET 2003
solution and come across this problem? I'm sure it's due to the image
file being referenced, but this form was added to both projects in
exactly the same way - so I would think that it would work in BOTH
projects or NONE, but not just 1 of them..

Of course, I'm on a tight schedule.. I'll probably have to rip the
projects out and make new ones so I can get my programs to work.

Thanks for any help,

Nov 20 '05 #1
0 1544

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: DelboyJay | last post by:
I have found a strange resource problem, but luckily I have also found the solution which was not obvious from the runtime exception. I really think that the compiler should pick up this problem...
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...
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...
by: buran | last post by:
Dear C# / ASP.NET Programmers, I am getting the following exception in my multilingual project. The project works fine, but on some pages, e.g, after filling out a form, the contents are saved...
by: Gene | last post by:
I have a Windows Form control that I have embedded in an ASP.NET page. I now have the need to catch an event from the control on the webpage. After researching the situation I found that this is...
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...
by: Rick Palmer | last post by:
Coincidently, I cannot add any type of image to my form now. I've tried every control that is capable of displaying an image, and every one gives me the same error in the "Windows Form Designer...
by: Aeryn | last post by:
I have a windows solutions containing three forms. All works fine until I customize a form's Icon property. The icon displays fine in the IDE but if I try to run the application it throws...
by: Newbie Coder | last post by:
Hello All, In Windows Form Application (VC++.NET 2003) I am having problems adding a icon to a form or a NotifyIcon control ( this->Icon = (__try_cast<System::Drawing::Icon * I click the...
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...
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...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
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: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.