Duplicate 'EmbeddedResource' items were included after migrate to .NET Standard? RRS feed

  • Question

  • User213349 posted


    Using VS 2017 15.4.0

    Following James Montemagno "Upgrading to Xamarin.Forms to .NET Standard" https://channel9.msdn.com/Shows/XamarinShow/Snack-Pack-15-Upgrading-to-XamarinForms-to-NET-Standard?ocid=player

    When trying to Clean/Build I am receiving the 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. The duplicate items were: 'App.xaml'; 'MainPage.xaml' App5.core C:\Program Files\dotnet\sdk\2.0.2\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.DefaultItems.targets 274

    Any solution please?

    Saturday, October 14, 2017 8:11 PM


All replies