gpt4 book ai didi

teamcity - MsDeployPublish 位于何处?

转载 作者:行者123 更新时间:2023-12-04 00:14:20 25 4
gpt4 key购买 nike

尝试使用 TeamCity 和 Web Deploy 部署我的网站时,出现此错误:

error MSB4057: The target "MsDeployPublish" does not exist in the project.

我必须在构建服务器上安装什么东西吗?这是一个干净的 Windows Server 2012,安装了 Web Deploy 3.5。

最佳答案

我意识到这个问题在这一点上已经很老了,但是:
MsDeployPublish作为 Visual Studio 的一部分与 Web 应用程序目标一起安装。如果您只安装了 Server + Web Deploy,则需要从开发人员安装中复制它们或安装 Visual Studio。目标可以从 %programfiles(x86)%\MSBuild\Microsoft\VisualStudio 复制

顺便说一句,在 Visual Studio 2012 发布之后添加了一些功能,即与发布配置文件 ( .pubxml ) 相关的功能。可以通过安装 Azure SDK 将这些添加到 VS2010,并将安装到 %programfiles(x86)%\MSBuild\Microsoft\VisualStudio\v10.5\Web

关于teamcity - MsDeployPublish 位于何处?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19295854/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com