我刚刚尝试安装DoNetOpenAuth Nuget软件包,但ASP.net MVC 4应用程序失败了:
PM> Install-Package DotNetOpenAuth
Attempting to resolve dependency 'DotNetOpenAuth.OpenId.RelyingParty.UI (= 4.3.2.13293)'.
Attempting to resolve dependency 'DotNetOpenAuth.OpenId.Core.UI (= 4.3.2.13293)'.
Attempting to resolve dependency 'DotNetOpenAuth.Core.UI (= 4.3.2.13293)'.
Attempting to resolve dependency 'DotNetOpenAuth.Core (= 4.3.2.13293)'.
Attempting to resolve dependency 'Microsoft.Net.Http'.
Attempting to resolve dependency 'Microsoft.Bcl (≥ 1.1.3)'.
Attempting to resolve dependency 'Microsoft.Bcl.Build (≥ 1.0.4)'.
Attempting to resolve dependency 'DotNetOpenAuth.Mvc (= 4.3.2.13293)'.
Install-Package : Unable to resolve dependency 'DotNetOpenAuth.Mvc (= 4.3.2.13293)'.
At line:1 char:1
+ Install-Package DotNetOpenAuth
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
我从DonetOpenAuth.net下载了二进制文件,而.net 4.5的bin库只有一个DLL - DotNetOpenAuth.dll。它没有其他DLL,如DotNetOpenAuth.Core,DotNetOpenAuth.OpenId,DotNetOpenAuth.OpenId.RelyingParty等。
TIA求助。
答案 0 :(得分:2)
安装包DotNetOpenAuth -version 4.3.3.13295
答案 1 :(得分:1)
我有同样的问题 - 回到版本并且安装得很好:
Install-Package DotNetOpenAuth -version 4.3.1.13153
答案 2 :(得分:0)
这是bug #309。刚修好版本4.3.3有修复。