I would like to setup continues build and release for my SharePoint Provider Hosted add-in with Visual Studio Team Services.

For now, I am using Visual Studio to publish the Add-in which generates "solution.app" file. When we use Visual Studio we also provide Website host URL and client id.

I am looking for a solution where I can automate this with Visual Studio Team Services.


I was able to do this with below MSBuild command,

msbuild /t:Package /p:PublishDir="C:\Temp\" /p:ActivePublishProfile="devprofile" myproject.proj

The problem with this command is it also creates package for the web as well and I would like to create a package for an app only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.