- Open package manager console in Visual Studio
- Type:
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bOR [Net.SecurityProtocolType]::Tls12 - press "Enter", succeed.
- retry NuGet Manager
This will change the connection security protocol to nuget as specified in this article: Deprecating TLS 1.0 and 1.1 on NuGet.org
Reference: StackOverFlow Article
請先 登入 以發表留言。