I got the solution.
There was some problem in csproj file due to merging. Some files were added twice. That were causing the issue. After removing duplicates issue is resolved.
Question
When I open a project in visual studio I'm getting following error:
The attribute "Include" in element <EmbeddedResource
> is unrecognized.
Solution
I got the solution.
There was some problem in csproj file due to merging. Some files were added twice. That were causing the issue. After removing duplicates issue is resolved.
OTHER TIPS
MSBuild and Visual Studio (2015, at least) also give this error if an EmbeddedResource
element is missing its closing tag. Between the error message's spurious text about the Include
attribute and its lack of a line number, this can take longer than it should to track down.
I got this problem when mistakenly opening a .jsproj project in VS2015 that was created with Visual Studio 2017.