craftworkgames / MonoGame.Extended

Extensions to make MonoGame more awesome
http://www.monogameextended.net/
Other
1.44k stars 325 forks source link

Can't install through NuGet "Unable to load service index for source https://packages.xenko.com/nuget" #748

Closed JamesC01 closed 3 years ago

JamesC01 commented 3 years ago

I'm trying to install monogame.extended through nuget, and it gives the error:

Exception 'System.AggregateException' thrown when trying to add source 'https://packages.xenko.com/nuget'. Please verify all your online package sources are available. One or more errors occurred. Unable to load the service index for source https://packages.xenko.com/nuget. An error occurred while sending the request. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.

I can get it working if I download the source, but not from nuget.

JamesC01 commented 3 years ago

I tried to install a different library, and got the same issue, so I searched, and a solution was deleting the file "%appdata%\NuGet\NuGet.config" Now it works fine.