如何在不使用发布文件的情况下获得发布版本?

时间:2018-10-22 15:49:36

标签: msbuild azure-pipelines publish-profiles

我有一系列不再可用的人建立的构建管道。 Visual Studio Build步骤的所有MSBuild Arguments字段中都包含以下内容:

/p:DeployOnBuild=true /p:PackageLocation="$(build.artifactstagingdirectory)\\" /p:PublishProfile="$(build.sourcesdirectory)\RestApi\Properties\PublishProfiles\VSTS-InPlacePublish.pubxml"

这会生成一个发布版本,但是我想避免不得不在应用程序的源代码仓库中指定构建配置文件;我想删除发布配置文件,只需在构建步骤中使用适当的参数即可获得相同的输出。

这可能吗?如果可能,怎么办?

0 个答案:

没有答案
相关问题