Regarding Nuget Package Error while Building the Project RRS feed

  • Question

  • Hi guys,

    This is Atif. I need your favor guys. I stuck in an error. It is

    Error 1 NuGet Package restore failed for project F:\Code\GRIDS\: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel..  0 0

    I am getting this while building or publishing my Asp.Net project.

    Please help me, Thanks in advance.

    With warm Regards


    Thursday, May 26, 2016 10:53 AM


  • Hi Atif,

    Is this problem occurs with this specific project or all projects? Please create a new project and install the same NuGet Package to check whether it is also has the same problem.

    According to the error message, this problem should related to the SSL/TLS cert. Please open your Tools menu -> Options -> NuGet Package Manager -> Package Sources in Visual Studio. Then add following sources path into the Package Sources list.

    In addition, please try run your Visual Studio as administrator to make sure it has enough permission to do any operations.

    Best Regards,

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Weiwei Cai Tuesday, May 31, 2016 9:27 AM
    • Marked as answer by Weiwei Cai Tuesday, June 7, 2016 1:41 AM
    Friday, May 27, 2016 2:15 AM