1

我刚刚尝试安装 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 为您提供帮助。

4

3 回答 3

2

安装包 DotNetOpenAuth -版本 4.3.3.13295

于 2013-10-23T07:07:16.820 回答
1

我有同样的问题 - 回到一个版本并且它安装得很好:

安装包 DotNetOpenAuth -version 4.3.1.13153

于 2013-10-22T08:46:50.387 回答
0

这是错误 #309。刚修好。版本 4.3.3 已修复。

于 2013-10-23T03:44:19.157 回答