I added three images to a file called Resource1.resx. I also added one string just for test purposes. I'm getting this error on either the GetString or the GetObject(image-name).
{"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure \"Resource1.resources\" was correctly embedded or linked into assembly \"TFBIC.RCT.Monitor\" at compile time, or that all the satellite assemblies required are loadable and fully signed."}
// get initial images
ResourceManager rm = new ResourceManager(
"Resource1",System.Reflection.Assembly.GetExecutingAssembly());
CultureInfo ci = Thread.CurrentThread.CurrentCulture;
string strTest = rm.GetString("String1"); // just testing
Bitmap bmCircleGreen = (Bitmap)rm.GetObject("circleGreen");
Bitmap bmCircleYellow = (Bitmap)rm.GetObject("circleYellow");
Bitmap bmCircleRed = (Bitmap)rm.GetObject("circleRed");
My form is the first class in my project (I've already seen that error).
I assigned a strong-key to my project to no avail.
Not sure what else to try.
Thanks,
Neal Walters