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

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


Hi,

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
invoked:

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

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,
PublicKeyToken=null
-----------------------------------------------------------------

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
fine.

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,
// CHRIS

Nov 20 '05 #1
0 1546

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

Similar topics

1
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...
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...
0
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...
0
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...
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: 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...
2
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...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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...
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.