Raphael Yoshiga
Raphael Yoshiga

Reputation: 107

Azure service fabric create package command line

I've seen is possible to push Azure Service Fabric applications using PowerShell, but for this the package of the application is a pre-requisite, and in all tutorials I can only create it through visual studio. Is there any way to create the package from command-line? I plan to create my package on the build server.

Upvotes: 2

Views: 249

Answers (2)

Matt Thalman
Matt Thalman

Reputation: 3995

The basic answer for command line is this:

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

The article on setting up continuous integration that Raphael posted goes into more detail about how to set this up in a VSTS build definition.

Upvotes: 3

Related Questions