How can I deploy Azure Api App using msbuild

时间:2015-11-12 11:30:54

标签: azure continuous-integration continuous-deployment azure-api-apps

I have created Azure API App and I am able to publish it using Visual Studio 2015. Now I want to deploy it using msbuild within continuous deployment. I have tried this so far:

msbuild MyAzureApiApp.csproj /p:DeployOnBuild=true /p:PublishProfile=myPublishProfile.pubxml

But it is asking for password! I have checked the subscription .publishsettings file but can not find any password on it.

Note that I have also checked the hidden file .pubxml.user and found the password but it was encrypted?

So how can I get the password to deploy it?

1 个答案:

答案 0 :(得分:0)

我发现用户名和密码来自Profile Publisher,可以从Azure门户下载。

相关问题