Link to home
Start Free TrialLog in
Avatar of BlearyEye
BlearyEyeFlag for United States of America

asked on

c# runtime error: could not find resources ...

i'm using c# under vs 2008 on vista.

i'm getting the error shown in the code snippet attached. i've posted the solution to http://www.bdluv.com/xmisc/misc/CSproject.zip (ee doesn't like some of the file names and rejects the attachment).

the solution is code provided by MS as part of the .NET Micro Framework porting kit; i'm just trying to get it running correctly.

ideas? tia, bill
System.Resources.MissingManifestResourceException was unhandled
  Message="Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure \"Microsoft.NetMicroFramework.Tools.MFDeployTool.Properties.Resources.resources\" was correctly embedded or linked into assembly \"ConsoleApplication\" at compile time, or that all the satellite assemblies required are loadable and fully signed."
  Source="mscorlib"
  StackTrace:
       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.GetString(String name, CultureInfo culture)
       at Microsoft.NetMicroFramework.Tools.MFDeployTool.Properties.Resources.get_ToolStripMenuPlugIn() in C:\Users\leal\Downloads\MFDeploy\MFDeploy\Application\Properties\Resources.Designer.cs:line 1203
       at Microsoft.NetMicroFramework.Tools.MFDeployTool.Form1..ctor() in C:\Users\leal\Downloads\MFDeploy\MFDeploy\Application\MFDeployForm.cs:line 31
       at Microsoft.NetMicroFramework.Tools.MFDeployTool.Program.Main(String[] args) in C:\Users\leal\Downloads\MFDeploy\MFDeploy\Application\Program.cs:line 106
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Omego2K
Omego2K
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BlearyEye

ASKER

when i right-click on Resources.resx, "Run Custom Tool" is not an option. In the file properties, the Custom Tool & Custom Tool Name fields are blank; do those need something filled in?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That did the trick ... interesting bit of magic. I'll have to read up on the Resources.resx file ...

Thanks, Bill