gpt4 book ai didi

TFS Build 未找到框架 ".NETFramework,Version=v4.6"的引用程序集

转载 作者:行者123 更新时间:2023-12-04 18:04:44 26 4
gpt4 key购买 nike

尝试构建面向 .NET 4.6 的网站时,安装了 .NET 4.6 的 TFS 2012 构建服务器会产生以下错误消息。

自安装以来,机器已重新启动。

我是否需要以某种方式告诉 TFS 支持 .NET 4.6?

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (983): The reference assemblies for framework ".NETFramework,Version=v4.6" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

最佳答案

我安装了.NET Framework 4.6 Targeting Pack在构建服务器上,为我解决了这个问题。

关于TFS Build 未找到框架 ".NETFramework,Version=v4.6"的引用程序集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32516695/

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