We help IT Professionals succeed at work.

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

BlearyEye
BlearyEye asked
on
1,551 Views
Last Modified: 2013-12-17
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

Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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?
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
That did the trick ... interesting bit of magic. I'll have to read up on the Resources.resx file ...

Thanks, Bill

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.