如何解决此依赖性问题。 [英] How do I solve this dependency problem.

查看:114
本文介绍了如何解决此依赖性问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计我有问题,我希望有人可以指出我正确的方向。我想在我的应用程序中开始使用SignalR,但是当我从Nuget安装软件包时,我收到以下错误无法加载文件或程序集'Microsoft.Owin,Version = 2.0.1.0,即使我已经安装了Microsoft.Owin 2.1版本通过nuget安装程序。任何帮助都非常难以理解,因为我真的陷入了这一点。



谢谢大家

Hey guys I have a problem and i'm hoping someone can point me in the right direction. I want to start using SignalR in my application but when I install the packages from Nuget I get the following error "Could not load file or assembly 'Microsoft.Owin, Version=2.0.1.0" even though I have installed version Microsoft.Owin 2.1 through the nuget installer. Any help is very much apreciated as im really stuck at this point.

Thanks Guys

推荐答案

卸载Microsoft.Owin 2.1并通过重新启动Visual Studio重新安装
Uninstall the Microsoft.Owin 2.1 & reinstall again by restarting the Visual Studio


试试这个



复制此Microsoft.Owin,Version = 2.0.1.0.dll并粘贴到您的应用程序bin文件夹中。

另请在GAC中检查此dll是否已注册。
Try This

copy this Microsoft.Owin, Version=2.0.1.0.dll and paste in you application bin folder.
Also check this dll is register or not in GAC.


这篇关于如何解决此依赖性问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆