Duplicate 'EmbeddedResource' items error when trying to migrate to .NET standard

I did as James suggests here

But now I get this big nasty error ....

Severity Code Description Project File Line Suppression State
Error Duplicate 'EmbeddedResource' items were included. The .NET SDK includes 'EmbeddedResource' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultEmbeddedResourceItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems.

So I deleted the entries from the csproj file and it just adds them back when I build ....

How do I stop this foolishness ?

Sign In or Register to comment.