通过 MSBuild 的 MSDeploy 的有效参数 [英] Valid Parameters for MSDeploy via MSBuild

查看:14
本文介绍了通过 MSBuild 的 MSDeploy 的有效参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 TFS 中的 Team Build 上使用 MSDeploy 部署 Web 应用程序.有几个问题解决了必须在 MSBuild 中传递才能调用 MSDeploy 的属性,但我没有找到足够的文档来说明哪些属性可用.有人有可用属性的列表吗?

I'm trying to deploy a web application using MSDeploy, on Team Build in TFS. There are several questions that address the properties that have to be passed in MSBuild in order to call MSDeploy, but I haven't found sufficient documentation for what properties are available. Does someone have a list of available properties?

以下是我发现的一些问题,但我无法找到属性的明确列表:

Here are some questions that I've found, but I haven't been able to find a definitive list of the properties:

推荐答案

以下是我整理的一个列表,供我自己参考,以及一些可以使用的合法值.请注意,这些是使用 /p:= 语法传递到 MSBuild 中的.

Here's a list I've compiled for my own reference, along with some of the legal values that can be used. Note that these are passed into MSBuild using the /p:<PropertyName>=<Value> syntax.

  • DeployOnBuild
    • 真的
    • 错误
    • MsDeployPublish
    • 包装
    • 有效解决方案配置的名称
    • 真的
    • 错误
    • <网站名称>/<文件夹>
    • 您要使用的 MSDeploy 安装位置
    • WMSVC (网络管理服务)
    • 远程代理
    • 真的
    • 错误
    • 真的
    • 错误

    这篇关于通过 MSBuild 的 MSDeploy 的有效参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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