title: How can I use my Proxy credentials when installing a Clickonce application?
body: <p>I am using an authenticated proxy to connect to the internet.  The proxy settings are listed in Control Panel, and I get a user/password dialog box the first time I connect to a website.</p>
  
  <p>While it normally works fine, when I launched a Clickonce application that needed to download files from the internet, I got this error:</p>
  
  <pre><code>Application download did not succeed. Check your network connection, or contact your system administrator or network service provider.
  </code></pre>
  
  <p>I went into the log file, and found this:</p>
  
  <pre><code>ERROR DETAILS
      Following errors were detected during this operation.
      * [22/12/2012 15:19:25] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
          - Downloading http://#######.###/########.application did not succeed.
          - Source: System.Deployment
          - Stack trace:
              at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
              at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
              at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
              at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri&amp; sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation&amp; serverInformation)
              at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri&amp; sourceUri, TempFile&amp; tempFile, SubscriptionState&amp; subState, IDownloadNotification notification, DownloadOptions options, ServerInformation&amp; serverInformation)
              at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri&amp; sourceUri, TempFile&amp; tempFile, SubscriptionState&amp; subState, IDownloadNotification notification, DownloadOptions options)
              at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp; errorPageUrl)
              at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
          --- Inner Exception ---
          System.Net.WebException
          - The remote server returned an error: (407) Proxy Authentication Required.
          - Source: System
          - Stack trace:
              at System.Net.HttpWebRequest.GetResponse()
              at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
  </code></pre>
  
  <p>I've added the credentials to the "My Credentials" section in user settings, but it still did not work.</p>
  
  <p>Is there any way to download files for a Clickonce application, via an authenticated proxy?</p>