title: Visual Studio common 2019 asks for proxy settings
body: <p>Last week I had to reinstall everything on my laptop. And so I needed to download Visual Studio again. Befor Reinstallation I had Visual Studio Express 2017 installed. Now I installed Visual Studio Community 2019.
  I have a (surely!) running code. In this code I want to download an excel file from an internal sharepoint. This worked before without problems.
  But when I tried to run the code again it got the following error message:</p>
  
  <p>Exceptional error during a web client request. Error in creating the web proxy specified in the configuration section system.net/defaultProxy.</p>
  
  <p>I tried out this already:
  <a href="https://stackoverflow.com/questions/41936478/how-to-set-proxy-in-visual-studio-2015">How to set proxy in visual studio 2015</a>
  I tried to put this lines into app.config and also to into devenv.exe.confi in my installation directory:</p>
  
  <pre><code>&lt;system.net&gt;
  &lt;defaultProxy useDefaultCredentials="true" enabled="true"&gt;
  &lt;proxy bypassonlocal="true"   proxyaddress=   "http://yourproxyaddress.net:8080" /&gt;
  &lt;/defaultProxy&gt;
  &lt;/system.net&gt;  
  </code></pre>
  
  <p>But it didn´t helped. Then I received this error message:</p>
  
  <p>The underlying connection has been closed: The connection to the remote server cannot be established. An invalid argument was given.</p>
  
  <p>The earlier code did not need any proxy, it was running before without any problem.
  I invested already so much hours to try out different setting combinations.
  Have anybody an idea? Please help me. </p>
  
  <p>Best wishes
  Begi</p>