Microsoft.Owin版本冲突

时间:2015-08-31 14:36:54

标签: visual-studio visual-studio-2013 nuget nuget-package

我想更新' WindowsAzure.MobileServices.Backend' nuget包到最新的包,但当我尝试这样做时,我得到一个错误

  

更新' Microsoft.Owin 3.0.0'到了Microsoft.Owin 3.0.1'失败。   无法找到' WindowsAzure.MobileServices.Backend'的版本。那   与Microsoft.Owin 3.0.1'。

兼容

但是Microsoft.Owin包已经有3.0.1版本了。

http://magicscreenshot.blob.core.windows.net/screenshots/ic8fQFP0OUg.jpg

为什么会发生这种情况以及如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

撰写本文时,最新版本的WindowsAzure.MobileServices.Backend为1.0.470。

查看WindowsAzure.MobileServices.Backend 1.0.470 NuGet包,它依赖于Microsoft.Owin 3.0.0版和dependency is defined so it only works with that version。来自WindowsAzure.MobileServices.Backend NuGet包中的.nuspec文件:

<dependency id="Microsoft.Owin" version="[3.0.0]" />

如果您需要WindowsAzure.MobileServices.Backend 1.0.470,则需要安装Microsoft.Owin版本3.0.0而不是3.0.1,因为WindowsAzure.MobileServices.Backend 1.0.470 NuGet包与3.0.1不兼容

相关问题