Reputation: 63
I'm using Visual studio 2015 inside our organization. I want to be able to use the Extensions and updates features but I always get a connection problem when I try to access the "online" or "update" section. We are behind a proxy server. The problem is related to the configuration of the proxy because the feature work well if I connect my pc on a direct internet connection. The proxy is managed by another organization and I don't know much about that subject. I need help on what I should say so they understand what they need to change. Does someone knows what configuration need to be put in place to make that VS feature works? thanks
Upvotes: 3
Views: 7806
Reputation: 61
the answer of tk78 is correct but if you are behind a company proxy probably you need to add user, password and domain on the proxy address like this:
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy bypassonlocal="True" proxyaddress="http://domain%5Cusername:password@youproxyaddress:portnumber" />
</defaultProxy>
</system.net>
The '%5C' is the escape for '' .
Upvotes: 0
Reputation: 957
Assuming you're working on Windows, you can try to set the Proxy for VS in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy bypassonlocal="True" proxyaddress="http://proxy.bn.ch:8080" />
</defaultProxy>
</system.net>
This overrules the standard Proxy Settings from IE.
Upvotes: 1