出版网站通过与SetParameters.xml PowerShell的AZURE [英] Publishing WebSite to Azure via powershell with SetParameters.xml

查看:111
本文介绍了出版网站通过与SetParameters.xml PowerShell的AZURE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有机会如何使用SetParameters.xml文件来设置参数在网络部署软件包?

Is there a chance how to use a SetParameters.xml file to set parameters in a web deployment package?

我想通过部署PowerShell脚本使用的cmdlet的应用程序

I would like to deploy an application by powershell script with cmdlets


  • 选择-AzureSubscription

  • 发布-AzureWebsiteProject

但我还没有找到如何设置SetParameters.xml文件发布-AzureWebsiteProject cmdlet的。
或者说还有什么法子?处理SetParameters.xml文件到网络部署包调用发布 - AzureWebsiteProject cmdlet的前?

But I have not found how to set a SetParameters.xml file to the Publish-AzureWebsiteProject cmdlet. Or is there an another way? Processing the SetParameters.xml file into the web deployment package before calling the Publish-AzureWebsiteProject cmdlet?

推荐答案

发布 - AzureWebsiteProject不支持SetParameters.xml。
我找到的最好的是使用MSDeploy.exe。如何设置参数是在回答<一个href=\"http://stackoverflow.com/questions/21893008/how-can-i-get-the-publishurl-via-azure-powershell\">How我可以通过Azure的PowerShell中得到PublishUrl?

Publish-AzureWebsiteProject does not support SetParameters.xml. The best I found is to use MSDeploy.exe. How to set arguments is in answers at How can I get the PublishUrl via Azure PowerShell?

这篇关于出版网站通过与SetParameters.xml PowerShell的AZURE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆