gpt4 book ai didi

asp.net - 无法加载文件或程序集 'System.Net.Http, Version=4.0.0.0'

转载 作者:行者123 更新时间:2023-12-04 23:05:48 27 4
gpt4 key购买 nike

我不知道我做了什么,但我可能已经删除了 System.Net.Http 4.0.0.0来自 GAC。我有一个针对 WinRT 的 Windows 可移植库,该库正在编译并且运行良好,现在每次尝试运行它时都会出现以下错误

Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.":"System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a



如何重新添加 System.Net.Http 4.0.0.0 ?每次找.dll,都找2.0.0.0版本?

最佳答案

要在 Windows 8 之前的 Windows 版本上修复此问题,请转到添加或删除程序并执行 .NET Framework 4.5 的修复安装。

要将其与 Windows 8 或更高版本配对,您需要运行系统还原以将 Windows 二进制文件还原到早期版本。

关于asp.net - 无法加载文件或程序集 'System.Net.Http, Version=4.0.0.0',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12612920/

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