gpt4 book ai didi

c# - teamcity 无法构建,因为它缺少 Microsoft.WebDeployment.targets

转载 作者:行者123 更新时间:2023-12-02 18:18:51 24 4
gpt4 key购买 nike

尝试构建时出现编译错误:

d:\Co\RnD\Server\WebSites\Writers\Dev-Accounts-3.10\Accounts\BrandToolbar.Account\BrandToolbar.Account.csproj(3682, 5): error MSB4062: The "BrandToolbar.Web.Compression.MSBuild.CodeFilesTask" task could not be loaded from the assembly BrandToolbar.Web.Compression.MSBuild, Version=1.1.0.0, Culture=neutral, PublicKeyToken=1570d3d1a3231508. Could not load file or assembly 'BrandToolbar.Web.Compression.MSBuild, Version=1.1.0.0, Culture=neutral, PublicKeyToken=1570d3d1a3231508' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

d:\Co\RnD\Server\WebSites\Writers\Dev-Accounts-3.10\Deployment\Account\Account.wdproj(73, 3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WebDeployment\v10.0\Microsoft.WebDeployment.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

但是我找不到下载和安装的地方 Microsoft.WebDeployment.targets

最佳答案

看看这篇关于使用 teamcity 设置它的文章, Web Deployment Project & TeamCity

您可以在此处下载 MS Web 部署内容,但从文章中看来您需要从 VS 计算机复制目标文件

http://www.microsoft.com/download/en/details.aspx?id=24509

关于c# - teamcity 无法构建,因为它缺少 Microsoft.WebDeployment.targets,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9000866/

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