Package manager in Visual Studio 2015 “407 (Proxy Authentication Required)”

后端 未结 8 2029
孤街浪徒
孤街浪徒 2020-12-17 20:08

I understand this is an often asked question, however after days of research I\'ve not found an answer to this particular problem.


I have a new ASP.NE

8条回答
  •  执笔经年
    2020-12-17 20:49

    You need to modify file 2 .config files:

    for Visual Studio 2015

    • C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\vsn.exe.config
    • C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config

    for Visual Studio 2017

    • C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\vsn.exe.config
    • C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe.config
    
      
        
        
          
          
          
        
      
      
        
        
      
    
    

    The bypass for nuget.org will work if, without the proxy, you still can get it's IP from DNS server and nothing else is blocking it.

    Also need this to install nuget

    Open the file C:\Users\[YOUR_USER_NAME]\AppData\Roaming\NuGet\NuGet.Config and add inside the <\configuration> tag the following:

    
      
    
    

    Taken from Marco Mengoli's Blog

提交回复
热议问题