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

后端 未结 8 2051
孤街浪徒
孤街浪徒 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:34

    I had to modify the 32 bit machine.config (assumption being VS runs in 32 bit) to add the section but omitting anything within the tag:

    
        
    
    

    According to MSDN:

    If the defaultProxy element is empty, the proxy settings from Internet Explorer will be used.

    This is perfect for me as every other application on my machine works - including IE.

    manchine.config location (Win 7): %SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\Config\machine.config


    Note

    I resolved this thanks to @user3063127 pointing me in the right direction (you have an upvote). As far as I can tell this only affects package restore on DNX projects and may well be fixed when RC2 is released.

提交回复
热议问题