Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running this C# project - `Resource file "Properties\Resources.resx" cannot be found`

I just downloaded this project and I get the following error

1>------ Rebuild All started: Project: ChromeSample, Configuration: Debug x86 ------
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2318,5): error MSB3552: Resource file "Properties\Resources.resx" cannot be found.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

I am using VS2012 - Windows 7 for building it. Any suggestions on how I could fix it. I havent used C# in a long time and need to see if this works immediately.

like image 626
Rajeshwar Avatar asked Jul 31 '14 05:07

Rajeshwar


2 Answers

In solution explorer, open tree item Properties.

Right click and Select remove from project for AssemblyInfo.cs, Resources.resx and Settings.settings.

You can build.

like image 175
fliedonion Avatar answered Oct 16 '22 06:10

fliedonion


Going through the posted MSDN URL, below are the list of files you have. So, you are getting that error cause you don't have a file named Resources.resx in there.

You can add one from visual studio though if needed be.

enter image description here

like image 39
Rahul Avatar answered Oct 16 '22 05:10

Rahul