Folleach / GeometryDashAPI

API for Geometry Dash
MIT License
62 stars 8 forks source link

Can't download on NuGet #15

Closed Necrosis000 closed 1 year ago

Necrosis000 commented 1 year ago

Describe the bug I can't download the library on NuGet it just returns this in the console:

Severity Code Description Project File Line Suppression State Error Could not install package 'GeometryDashAPI 0.1.16'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', 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.

To Reproduce Steps to reproduce the behavior:

  1. Try downloading it

Expected behavior I expected to have the program downloaded

Additional context Nothing really

Folleach commented 1 year ago

Are you using .NET Framework v4.7.2? This library targeting only on netstandard 2.1, it's standard version is not compabile with any .net framework versions: https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1

I recommend use net core 3.0+ or .net 5+

Also I think it's possible to targeting on netstandard 2.0 too, if you need it only on framework

Necrosis000 commented 1 year ago

by chance how would you get it to work for netstandard 2.0?

Folleach commented 1 year ago

Done. Since 0.1.17 this library can work on net framework 4.6.1 or higher.
But on frameworks which can include netstandard 2.1 library will works faster

image