adsense

Sunday, February 8, 2015

visual studio 2010/2012/2013 nuget error "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel"

I recently came across this issue when trying to launch the nuget package manager. It seems this issue is common to all  VS2010,2012 and 2013 versions. Follow these steps to solve the issue.

Go to VS2010/2012/2013  -> Tools -> Library Package Manager -> Package Manager Settings
Choose Package Manager -> Package Sources.
1. Add a new package source as:
Name= NugetSrc
Source= http://packages.nuget.org/v1/FeedService.svc/
2. Move Up the newly added package source to the first position.
3. UnCheck existing "Nuget official package source"
4. Restart VS2010/2012/2013

cheers,
Samitha

1 comment: