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

I just downloaded this project and got 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 to create it. Any suggestions on how I can fix this. I have not used C # for a long time and should make sure that it works immediately.

+6
source share
6 answers

In the Solution Explorer, open an element of the Properties tree.

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

You can create.

+15
source

Going to the published MSDN URL, below is a list of the files you have. Thus, you get this error because you do not have a file named Resources.resx .

You can add it from visual studio if necessary.

enter image description here

+1
source

Delete the Resource.resx file from the C # project. After that, he must become beautiful!

0
source

Go to the source control explorer. Find your project, right-click and select "Add items to folder." Select "Properties" and there should be your missinProperties \ Resources.resx

0
source

VB:

I previously used VB2008, and when it was changed to 2015, I got an error "file not found: progName.resX

Finally, I noticed that there are 3 modules that had a file named "NET Managed resourse (progName1) .resourse" and the same for progName3, but the original name for the progName2 file was "Net Managed resourses (progName2 (1)). resourses "

I just renamed the file and deleted (1), and VB 2015 found it correctly.

0
source

In the solution explorer, open the tree properties of the tree.

remove Resource.resx and rebuild the project.

Good luck

0
source

Source: https://habr.com/ru/post/973142/


All Articles