Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set proxy in visual studio 2015

I'm Using Visual Studio 2015 for Xamarin app development and I'm working behind corporate proxy, I need to set the proxy(http proxy) to the Visual studio 2015, so how could I get such window to set proxy ?

like image 591
Saibal Bhaduri Avatar asked Jan 30 '17 12:01

Saibal Bhaduri


People also ask

Does Visual Studio have proxy settings?

Your proxy settings should be configured via Internet Explorer either in Control Panel via Visual Studio in the following manner... Open Visual Studio, then click on Tools-> Options... In the Environment section scroll to and click on Web Browser, then click on Internet Explorer Options...

How do I fix VS code proxy error?

If CodeTogether is still not connecting correctly through your proxy, you can try disabling the proxy support for extensions by setting http. proxySupport to off . For more information on configuring proxy support in VS Code, go to https://code.visualstudio.com/docs/setup/network#_proxy-server-support/.

What is Targetednotifications TM Trafficmanager?

targetednotifications-tm.trafficmanager.net. www.research.net. 443. 443. Used to filter a global list of notifications to a list that is applicable only to specific types of machines/usage scenarios.


2 Answers

Find devenv.exe.config in your installation directory.

Now open this text file and add the node <defaultProxy> inside the node <system.net>.

<system.net>
<defaultProxy useDefaultCredentials="true" enabled="true">
    <proxy bypassonlocal="true" proxyaddress="http://yourproxyaddress.net:8080" />
</defaultProxy>
</system.net>

If your proxy requires authentication, you should add those as parameters in the proxy URL

<system.net>
<defaultProxy useDefaultCredentials="true" enabled="true">
    <proxy bypassonlocal="true" proxyaddress="http://Username:[email protected]:8080" />
</defaultProxy>
</system.net>
like image 125
Svekke Avatar answered Dec 22 '22 20:12

Svekke


For the folks that are behind a proxy and using Visual Studio 2017 on Windows 10, this is what I did.

  1. Type "setting" or "proxy" in the search bar and select Settings or the link pointing to Network & Internet > Proxy
  2. At the bottom you will see Manual proxy setup
  3. Turn on the Use a proxy server and put your company address and port and any other setting you moght find relevant (like bypass for local addresses)
like image 21
Graywolf Avatar answered Dec 22 '22 18:12

Graywolf