Tuesday, March 13, 2012

System.Resources.MissingManifestResourceException: How to edit .resources file

I downladed skmMenu ( a 3rd party menu) for ASP.NET application and I have made skmmenu.dll . After that I putmenu control on my webform, and start my application.I get the following error in browser. I guess this is a library issue!! Can somebody help.

Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Menu.resources" was correctly embedded or linked into assembly "SkyMenu". baseName: Menu locationInfo: skmMenu.Menu resource file name: Menu.resources assembly: SkyMenu, Version=2.2.2078.30514, Culture=neutral, PublicKeyToken=null

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Menu.resources" was correctly embedded or linked into assembly "SkyMenu". baseName: Menu locationInfo: skmMenu.Menu resource file name: Menu.resources assembly: SkyMenu, Version=2.2.2078.30514, Culture=neutral, PublicKeyToken=null
Source Error:
Line 1286:// If you are working on the skmMenu code base, this is in Menu.resx...Line 1287:ResourceManager manager = new ResourceManager( this.GetType() );Line 1288:script = manager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, true, true).GetString("ClientScript");Line 1289:}Line 1290:this.Page.RegisterClientScriptBlock("skmMenu", script );
You need the Menu.resx file included in the dll's Project/Solution.
NC...

No Luck. Still getting same error.

Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Menu.resources" was correctly embedded or linked into assembly "SkyMenu". baseName: Menu locationInfo: skmMenu.Menu resource file name: Menu.resources assembly: SkyMenu, Version=2.2.2081.16098, Culture=neutral, PublicKeyToken=null

0 comments:

Post a Comment