添加Microsoft.owin.host.systemweb导致无法加载文件或汇编' System.Runtime,版本= 4.2.2.0,.。系统找不到文件
我有一个ASP.NET WebForms .NET Framework 4.5.2,并且使用VS版本16.11.5,如果我尝试添加Microsoft.OWIN.HOST.SYSTEMWEB,它导致无法加载文件或汇编'System.Runtime。 4.2.2.0,文化=中性,publicKeyToken = B03F5F7F11D50A3A'或其依赖性之一。该系统找不到指定的文件。
packages.config具有此条目
<package id="System.Runtime" version="4.3.1" targetFramework="net452" />
,web.config已
尝试
<add assembly="System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
删除这些配置条目,但问题仍然存在 我还尝试删除临时ASP.NET文件
I have a Asp.net webforms .net framework 4.5.2 and I use VS Version 16.11.5 and if I try to add Microsoft.Owin.Host.SystemWeb it leads to Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Packages.config has this entry
<package id="System.Runtime" version="4.3.1" targetFramework="net452" />
and web.config has
and
<add assembly="System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
I have tried removing these config entries but issue persists
I have also tried deleting temporary Asp.net files
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论