未知 NuGet 错误无法检索信息

Sot*_*eri 3 c# visual-studio nuget

我是 Visual Studio 和 NuGet 的新手,但收到此错误。

我不知道我做错了什么你能帮助我吗?

这是我的控制台输出:

Getting restore information for project /Users/{USERNAME}/Pfeife/Pfeife/Pfeife.csproj
Getting restore information for project /Users/{USERNAME}/Pfeife/Pfeife.iOS/Pfeife.iOS.csproj
Getting restore information for project /Users/{USERNAME}/Pfeife/Pfeife.Android/Pfeife.Android.csproj
Running non-parallel restore.
Reading project file /Users/{USERNAME}/Pfeife/Pfeife/Pfeife.csproj.
Persisting no-op dg to /Users/{USERNAME}/Pfeife/Pfeife/obj/Pfeife.csproj.nuget.dgspec.json
Restoring packages for /Users/{USERNAME}/Pfeife/Pfeife/Pfeife.csproj...
Restoring packages for .NETStandard,Version=v2.0...
  GET https://api.nuget.org/v3-flatcontainer/system.net.http/index.json
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.net.http/index.json'.
The SSL connection could not be established, see inner exception.
  Unable to write data to the transport connection: The socket is not connected.
  The socket is not connected
  GET https://api.nuget.org/v3-flatcontainer/system.net.http/index.json
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/system.net.http/index.json'.
The SSL connection could not be established, see inner exception.
  Unable to write data to the transport connection: The socket is not connected.
  The socket is not connected
  GET https://api.nuget.org/v3-flatcontainer/system.net.http/index.json
Failed to retrieve information about 'System.Net.Http' from remote source 'https://api.nuget.org/v3-flatcontainer/system.net.http/index.json'.
Run Code Online (Sandbox Code Playgroud)

Sot*_*eri 8

我通过简单地重新启动 Visual Studio 解决了这个问题。Visual Studio for Mac 似乎有很多错误。