none
Regarding Nuget Package Error while Building the Project

    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

    Atif

    Thursday, May 26, 2016 10:53 AM

Answers

  • 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.

    http://packages.nuget.org/v1/FeedService.svc/

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

    Best Regards,
    Weiwei


    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.

    Friday, May 27, 2016 2:15 AM
    Moderator