installaling SolrNet -Version 0.9.1

28 views
Skip to first unread message

Abdul Shukkur

unread,
Nov 7, 2017, 6:20:49 AM11/7/17
to SolrNet
Hi All,
i'm new to SOLR and trying to create an app to connect SOLR from .Net.

i'm trying to install the latest version of SOLRNET by "Install-Package SolrNet -Version 0.9.1"

but getting the below error in VS 2013.  Please advise which .Net version is compatible.

PM> Install-Package SolrNet -Version 0.9.1
Attempting to resolve dependency 'CommonServiceLocator (≥ 2.0.1)'.
Attempting to resolve dependency 'SolrNet.Core (= 0.9.1)'.
Installing 'CommonServiceLocator 2.0.1'.
Successfully installed 'CommonServiceLocator 2.0.1'.
Installing 'SolrNet.Core 0.9.1'.
Successfully installed 'SolrNet.Core 0.9.1'.
Installing 'SolrNet 0.9.1'.
Successfully installed 'SolrNet 0.9.1'.
Adding 'CommonServiceLocator 2.0.1' to WebSite1.
Successfully added 'CommonServiceLocator 2.0.1' to WebSite1.
Adding 'SolrNet.Core 0.9.1' to WebSite1.
Uninstalling 'SolrNet.Core 0.9.1'.
Successfully uninstalled 'SolrNet.Core 0.9.1'.
Uninstalling 'CommonServiceLocator 2.0.1'.
Successfully uninstalled 'CommonServiceLocator 2.0.1'.
Install failed. Rolling back...
Install-Package : Could not install package 'SolrNet.Core 0.9.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does 
not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.At line:1 char:1
+ Install-Package SolrNet -Version 0.9.1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand


Thanks
Abdul

Abdul Shukkur

unread,
Nov 9, 2017, 4:20:56 PM11/9/17
to SolrNet
Hi All,
Please someone assist on the same..

Thanks
Abdul
Reply all
Reply to author
Forward
0 new messages