【发布时间】:2016-06-28 21:38:47
【问题描述】:
我已经看到可以使用 PowerShell 推送 Azure Service Fabric 应用程序,但为此应用程序包是先决条件,在所有教程中我只能通过 Visual Studio 创建它。 有没有办法从命令行创建包? 我计划在构建服务器上创建我的包。
【问题讨论】:
标签: azure continuous-integration azure-service-fabric azure-powershell
我已经看到可以使用 PowerShell 推送 Azure Service Fabric 应用程序,但为此应用程序包是先决条件,在所有教程中我只能通过 Visual Studio 创建它。 有没有办法从命令行创建包? 我计划在构建服务器上创建我的包。
【问题讨论】:
标签: azure continuous-integration azure-service-fabric azure-powershell
命令行的基本答案是这样的:
msbuild Application.sfproj /t:Package /p:Configuration=[Debug|Release]
Raphael 发布的关于设置持续集成的文章更详细地介绍了如何在 VSTS 构建定义中进行设置。
【讨论】: