title: Visual Studio 2012 force proxy
body: <p>We are using Visual Studio 2012 &amp; trying to Publish a web application. If we try to validate the connection we are returned with error:</p>
  
  <p>Web deployment task failed. could not connect to the remote computer ([Server trying to connect]). On the remote computer, make sure that Web Deploy is installed and the required process ("Web Management Service") is started. Learn more at ....</p>
  
  <p>If we bypass our proxy we receive a successful connection.</p>
  
  <p>We have found two articles where you can configure the devenv.exe.config file by adding proxy element to the config file; we have tried both elements separately !!</p>
  
  <pre><code>&lt;system.net&gt;
  &lt;defaultProxy useDefaultCredentials="true" enabled="true"&gt;
  &lt;proxy usesystemdefault="True" /&gt;
  &lt;/defaultProxy&gt;
  &lt;/system.net&gt;
  
  
  &lt;system.net&gt;
      &lt;defaultProxy enabled="true" useDefaultCredentials="true"&gt;
          &lt;proxy bypassonlocal="True"
                 proxyaddress="our proxy:port"/&gt;
      &lt;/defaultProxy&gt;
  &lt;/system.net&gt;
  </code></pre>
  
  <p>We have configured our  I.E. 10 settings: LAN settings to "Automatically Detect Settings" </p>
  
  <p>We are trying to find a way to bypass our proxy server &amp; use browser settings, can anyone assist ?</p>