Closed ptbdev closed 1 year ago
I've fixed my issue. Closing it.
For people experiencing a similar issue in the future, create a config file named "nuget.config" with the following code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
From Terminal in Visual Studio Code:
PS D:\Coding Projects\Learning Python\Geometry Dash> dotnet add package GeometryDashAPI --version 0.1.20 Determining projects to restore... Writing C:\Users\fyreb\AppData\Local\Temp\tmpE2FA.tmp info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing. info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping. info : Adding PackageReference for package 'GeometryDashAPI' into project 'D:\Coding Projects\Learning Python\Geometry Dash\Geometry Dash.csproj'. info : Restoring packages for D:\Coding Projects\Learning Python\Geometry Dash\Geometry Dash.csproj... error: NU1101: Unable to find package GeometryDashAPI. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages error: Package 'GeometryDashAPI' is incompatible with 'all' frameworks in project 'D:\Coding Projects\Learning Python\Geometry Dash\Geometry Dash.csproj'.
Info: