1👍
You need to set the proxy configuration in your environment. For Windows, this means setting the environment variables. Simply search for environment variables
in the Start menu, and click on Edit environment variables for your account
.
You need to add two environment variables HTTP_PROXY
and HTTPS_PROXY
, the value is in the format http://user:password@proxy.server.com:port
.
For example, if your proxy server is proxy.example.com
and is listening on port 8080
, your value is http://user:password@proxy.example.com:8080
Check with your network administrator for the exact settings for your environment.
Once you have updated the variables (and clicked OK), it is very important to restart visual studio otherwise the variables will not be read.
Source:stackexchange.com