When I issue the following command in the command line:
dotnet publish -o \"./../output\" -c Release
The dotnetcli publishes the pr
dotnetcli
After Visual Studio 2017 15.3
Edit the .csproj file to manually exclude files/folder from being published
ref: https://www.danielcrabtree.com/blog/273/fixing-the-duplicate-content-error-after-upgrading-visual-studio-2017
original source