dotnet publish with /p:PublishProfile=?

前端 未结 6 2030
离开以前
离开以前 2020-12-29 03:53

I\'m trying to call \"dotnet publish\" with a specific publish profile pubxml file as documented here :

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/

6条回答
  •  时光说笑
    2020-12-29 04:08

    See https://github.com/dotnet/docs/issues/19677. The PublishProfile is only the name, any directory before it is disregarded.

    PublishProfile property is treated as a file name and the directory is constructed separately.

    The PublishProfileFullPath property should be used if specifying a custom path.

提交回复
热议问题