2013-10-21 192 views
1

我只是試圖安裝DoNetOpenAuth NuGet包,它失敗的ASP.net MVC 4應用:DotNetOpenAuth NuGet包安裝失敗

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的bin庫4.5只有一個DLL - DotNetOpenAuth.dll。它沒有其他DLL,如DotNetOpenAuth.Core,DotNetOpenAuth.OpenId,DotNetOpenAuth.OpenId.RelyingParty等。

TIA爲您提供幫助。

回答

1

安裝,包裝DotNetOpenAuth -version 4.3.3.13295

+0

安裝此版本後,我得到一個編譯錯誤,因爲VS找不到命名空間DotNetOpenAuth.AspNet。 –

+0

我安裝了DotNetOpenAuth.AspNet,我又開始工作了。對不起,錯誤的電話。 –

1

我有同樣的問題 - 回到一個版本,它精細安裝:

安裝,包裝DotNetOpenAuth -version 4.3.1.13153

0

這是bug #309。剛剛修好。版本4.3.3有修復程序。