Attempt to install ZeroTiers SDK but failed

Hi,

I am trying to install ZeroTiers SDK with this command in C#

Install-Package ZeroTier.Sockets

Then was trying to install the package and I got this

Attempting to gather dependency information for package 'ZeroTier.Sockets.1.8.4' with respect to project 'ZeroTierTest', targeting 'native,Version=v0.0'
Gathering dependency information took 919 ms
Attempting to resolve dependencies for package 'ZeroTier.Sockets.1.8.4' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'ZeroTier.Sockets.1.8.4'
Resolved actions to install package 'ZeroTier.Sockets.1.8.4'
Retrieving package 'ZeroTier.Sockets 1.8.4' from 'nuget.org'.
  GET https://api.nuget.org/v3-flatcontainer/zerotier.sockets/1.8.4/zerotier.sockets.1.8.4.nupkg
  OK https://api.nuget.org/v3-flatcontainer/zerotier.sockets/1.8.4/zerotier.sockets.1.8.4.nupkg 15ms
Installing ZeroTier.Sockets 1.8.4.
Install failed. Rolling back...
Package 'ZeroTier.Sockets.1.8.4' does not exist in project 'ZeroTierTest'
Package 'ZeroTier.Sockets.1.8.4' does not exist in folder 'C:\Users\User\source\repos\ZeroTierTest\packages'
Executing nuget actions took 3 sec
Install-Package : Could not install package 'ZeroTier.Sockets 1.8.4'. You are trying to install this package into a project that targets 'native,Version=v0.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 ZeroTier.Sockets -Version 1.8.4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 

May I know what is the reason?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.