Azure 服务结构创建包命令行

Azure service fabric create package command line

我看到可以使用 PowerShell 推送 Azure Service Fabric 应用程序,但为此应用程序包是先决条件,在所有教程中我只能通过 visual studio 创建它。 有没有办法从命令行创建包? 我计划在构建服务器上创建我的包。

好吧,我们这里有一个很好的指南: https://azure.microsoft.com/en-us/documentation/articles/service-fabric-set-up-continuous-integration/#create-your-build-definition

命令行的基本答案是这样的:

msbuild Application.sfproj /t:Package /p:Configuration=[Debug|Release]

Raphael 发布的有关设置持续集成的文章详细介绍了如何在 VSTS 构建定义中进行设置。