Aspnetboilerplate: Could not install Abp.Zero.Ldap

Created on 22 Mar 2018  路  3Comments  路  Source: aspnetboilerplate/aspnetboilerplate

Github Issues

  • Abp package version: 3.4.0.
  • .NET framework: 4.6.1.
  • Exception message:
Install-Package : Unable to resolve dependency 'System.DirectoryServices.AccountManagement'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
At line:1 char:1
+ Install-Package Abp.Zero.Ldap
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand.
  • Steps needed to reproduce the problem:
    Install-Package Abp.Zero.Ldap

I have tried add reference System.DirectoryServices.AccountManagement, but still throws errors like above.

Most helpful comment

@ismcagdas @alirizaadiyahsi
By using

Install-Package Abp.Zero.Ldap -IncludePrerelease

It finally gets installed!

Thanks

All 3 comments

Hi @sylfree9999, there is an issue with latest version of this package. Could you try to install previous version? We well fix this issue in a short time.

@sylfree9999 https://www.nuget.org/packages/Abp.Zero.Ldap package depends on below packages and they are pre releases.

  • System.DirectoryServices.AccountManagement (>= 4.5.0-preview1-26216-02)
  • System.DirectoryServices.Protocols (>= 4.5.0-preview1-26216-02)

So if you include pre release pacakges while running Install-Package, it should work. See https://docs.microsoft.com/en-us/nuget/create-packages/prerelease-packages#installing-and-updating-pre-release-packages.

@ismcagdas @alirizaadiyahsi
By using

Install-Package Abp.Zero.Ldap -IncludePrerelease

It finally gets installed!

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hikalkan picture hikalkan  路  3Comments

hikalkan picture hikalkan  路  3Comments

Mehranh picture Mehranh  路  3Comments

edgars-pivovarenoks picture edgars-pivovarenoks  路  3Comments

wocar picture wocar  路  3Comments