This article is a mirror article of machine translation, please click here to jump to the original article.

View: 24125|Reply: 1

[Source] [VS2017] Set up the Nuget agent

[Copy link]
Posted on 11/11/2017 10:20:59 PM | | |

@tags "visual studio 2017" nuget

Using Nuget in VS2013 must be a very cool thing, just like using Maven to install various packages in Java. Sometimes the network is not good, and the results cannot be obtained by downloading and searching the nuget package, so configure the proxy.

The proxy I use here is ss, which is the local 1080 port.

Close vs2017; Make sure the proxy is running on the local port 1080

Edit "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE" under "devenv.exe.config"

Key points: Admin privileges editing. For example, open cmd with administrator permissions, and then edit with gvim.

Then modify the System.Net node as follows, and change the proxyaddress to your own proxy address.



Edit "NuGet.Config" under C:\Users\xxx\AppData\Roaming\NuGet
No admin privileges are required this time

Add a config node as follows: value with your own proxy address.








Previous:Difference between ShadowsocksR and Shadowsocks
Next:VS2017 Unable to Connect to the Internet Workaround
 Landlord| Posted on 11/11/2017 10:21:21 PM |
Nuget Domestic Source (Mirror Source)
http://www.itsvse.com/thread-3925-1-1.html
(Source: Architect)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com