Microsoft.Owin 版本冲突
Microsoft.Owin version conflict
我想将 'WindowsAzure.MobileServices.Backend' nuget 包更新到最新包,但是当我尝试这样做时出现错误
Updating 'Microsoft.Owin 3.0.0' to 'Microsoft.Owin 3.0.1' failed.
Unable to find a version of 'WindowsAzure.MobileServices.Backend' that
is compatible with 'Microsoft.Owin 3.0.1'.
但是 Microsoft.Owin 包已经有了 3.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.
我想将 'WindowsAzure.MobileServices.Backend' nuget 包更新到最新包,但是当我尝试这样做时出现错误
Updating 'Microsoft.Owin 3.0.0' to 'Microsoft.Owin 3.0.1' failed. Unable to find a version of 'WindowsAzure.MobileServices.Backend' that is compatible with 'Microsoft.Owin 3.0.1'.
但是 Microsoft.Owin 包已经有了 3.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.