RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Visual Studio .Net

Visual Studio .Net

Ok, if any of you are VS.Net gurus out there, heres your time to shine.

I recently went through and changed the namespaces on my spawner program project. Now for some reason, it won't recognize one of the resource files. It recognizes the other, but not this particular one.

So, i recreated the project from a blank solution, complied, same thing.

Keeps spitting out this error

One thing that caught my eye was this Make sure "Spawner.resources" in the error. The resource file for Spawner is Spawner.resx, not Spawner.resources...

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for "MyRunUO.Spawners.Spawner" threw an exception. ---> System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Spawner.resources" was correctly embedded or linked into assembly "MyRunUO".
baseName: Spawner locationInfo: MyRunUO.Spawners.Spawner resource file name: Spawner.resources assembly: MyRunUO, Version=1.0.1537.41352, Culture=neutral, PublicKeyToken=null
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
at System.Resources.ResourceManager.GetObject(String name)
at MyRunUO.Spawners.Spawner..cctor()
 
Top