Install-Package Tech.Zerodha.KiteConnect installation issue

vinay29012017
PM> Install-Package Tech.Zerodha.KiteConnect -Version 3.0.7
Attempting to gather dependency information for package 'Tech.Zerodha.KiteConnect.3.0.7' with respect to project 'INEATS.KiteConnect', targeting '.NETFramework,Version=v4.6.1'
Attempting to resolve dependencies for package 'Tech.Zerodha.KiteConnect.3.0.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Tech.Zerodha.KiteConnect.3.0.7'
Resolved actions to install package 'Tech.Zerodha.KiteConnect.3.0.7'
Install failed. Rolling back...
Package 'Tech.Zerodha.KiteConnect.3.0.7' does not exist in project 'INEATS.KiteConnect'
Package 'Tech.Zerodha.KiteConnect.3.0.7' does not exist in folder 'I:\Projects\INEATS\packages'
Install-Package : Could not install package 'Tech.Zerodha.KiteConnect 3.0.7'. You are trying to install this package into a
project that targets '.NETFramework,Version=v4.6.1', 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 Tech.Zerodha.KiteConnect -Version 3.0.7
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
  • tonystark
    tonystark edited December 2020
    v3.0.6 onwards our lib targets .Net Standard 2.0 which is supported with .Net Framework 4.6.1. But it seems there is some kind of compatibility issue. Can you try with .Net Framework 4.7.2 or higher for your project? Because Microsoft recommends this in such scenarios.

    Or you can try installing 3.0.5 which is built with .Net Framework.
Sign In or Register to comment.