dotnet publish doesn´t publish correct appsettings.{env.EnvironmentName}.json

后端 未结 5 1528
难免孤独
难免孤独 2020-11-29 03:27

When I issue the following command in the command line:

dotnet publish -o \"./../output\" -c Release

The dotnetcli publishes the pr

5条回答
  •  醉酒成梦
    2020-11-29 03:40

    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

提交回复
热议问题