Nuget and "Unable to load service index"

I have problems with Monodevelop. I am using LinuxMint Serena (18.1) and Monodevelop 7.0.1 (build 24). When I try to add the nuget package to a new project, I get the following response:

[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request Error: SecureChannelFailure (Object reference not set an instance of an object) Object reference not set to an instance of an object 

I check the address of api nuget and it is normal, nothing strange in the link. I tried to copy the old package from the original Visual Studio project, but remain a problem.

Thanks in advance.

EDIT: After many failed attempts, I am using old nuget packages downloaded from an old Visual Studio project. I don’t know if this fixed the execution or that I accept the project and open it using Monodevelop for Windows.

+5
source share
1 answer

I have the same question in ubuntu (16.04) Monodevelop (7.0.1). I can access http://api.nuget.org/v3/index.json in my browser, but when I add the nuget package to monodevelop, it throws an exception: "Unable to load the service index for the source https: // api .nuget.org / v3 / index.json ". I solve this problem by checking for updates, checking and installing all software updates. You can try. Good luck

+2
source

Source: https://habr.com/ru/post/1269085/


All Articles