PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 28, 2022

[FIXED] How can I deploy Azure Api App using msbuild

 September 28, 2022     azure, azure-api-apps, continuous-deployment, continuous-integration     No comments   

Issue

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?


Solution

I found the username and password are from Profile Publisher which can be downloaded from Azure Portal.



Answered By - Minh Nguyen
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing