element is not recognized When I open a project in visual studio, I...">

Visual Studio project loading failed: "Include" attribute in <EmbeddedResource> element is not recognized

When I open a project in visual studio, I get the following error:

The Include attribute in the <EmbeddedResource > element is not recognized.

+6
source share
3 answers

I got a solution.

There was some problem in the csproj file due to merging. Some files have been added twice. This caused a problem. After removing duplicates, the problem is resolved.

+6
source

MSBuild and Visual Studio (at least 2015) also give this error if the EmbeddedResource element does not have its closing tag. Between the false text of the error message about the Include attribute and the absence of a line number, this may take longer than it should be monitored.

+2
source

I had this problem when opening the .jsproj project in VS2015 that was created using Visual Studio 2017 by mistake.

0
source

All Articles