gpt4 book ai didi

.net - 未找到框架 ".NETFramework,Version=v4.6.2"的引用程序集

转载 作者:行者123 更新时间:2023-12-02 03:27:08 26 4
gpt4 key购买 nike

尝试编译解决方案时,出现以下构建错误:

Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.6.2" 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. C:\RPR\Dev\Libraries\Common\Common.csproj C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 1111

我尝试安装 .NET Framework 4.6.2 SDK 以及 4.6 Targeting Pack,但是这两个错误都表明我已经安装了它。我也尝试安装 Visual Studio 2017 但它仍然给出相同的错误。

有什么想法吗?

最佳答案

Windows -> 搜索 -> Visual Studio 安装程序 -> 修改 -> 各个组件并检查正确的版本

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

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