I tried Install-Package Solrnet.NHibernate
on a new console application but it failed with this error:
Attempting to resolve dependency 'NHibernate.Core (≥ 2.1.2.4000)'.
Install-Package : Unable to resolve dependency 'NHibernate.Core (≥ 2.1.2.4000)'.
At line:1 char:16
+ install-package <<<< solrnet.nhibernate
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Is this broken, and how do I fix this?
The "NHibernate.Core" package was renamed to "NHibernate" a while ago. Heck, I even supported that decision in a related discussion. Yet I forgot to update the SolrNet.NHibernate package. I guess I thought the NuGet team would batch transform all existing packages, but that never happened.
Anyway I just fixed the package and pushed it to the NuGet feed, so it all should work now.