Visual Studio 2010 nuget error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

前端 未结 11 1326
眼角桃花
眼角桃花 2020-12-04 19:19

Whenever I\'m trying to install something or even just list the packages I get this error \"The underlying connection was closed: Could not establish trust relationship for

11条回答
  •  醉梦人生
    2020-12-04 19:46

    Go to VS2012 -> Tools -> Library Package Manager -> Package Manager Settings Choose Package Manager -> Package Sources.

    1. Add a new package source as: Name= NugetSource Source= http://packages.nuget.org/v1/FeedService.svc/
    2. Move Up the newly added package source to first position.
    3. UnCheck existing "Nuget official package source"
    4. Restart VS2012.

    This is working on my machine.

提交回复
热议问题