4. rebuild
expected:
build succeeds.
actual:
build fails with:
Severity Code Description Project File Line Suppression State
Error Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultContentItems' property to 'false' if you want to explicitly include them in your project file. The duplicate items were: 'web.config'; 'appsettings.Development.json'; 'appsettings.json'; 'Properties\launchSettings.json'; 'runtimeconfig.template.json' WebApplication1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.DefaultItems.targets 188
Repro:
in csproj, paste the following packages