0

我在 MSDN 上搜索过,但我找不到如何在 Visual Studio 2012 配置文件中为代理配置用户名和密码。我找到了这个:

<defaultProxy enabled="true" useDefaultCredentials="true">
 <proxy bypassonlocal="True" proxyaddress="http://<yourproxy:port#>"/>
</defaultProxy>

有没有办法指定用户名和密码?谢谢

4

1 回答 1

0

在 Internet Explorer 中设置代理(工具/Internet 选项/连接/LAN 设置/代理服务器)并将代理的凭据保存在凭据存储 ( Control Panel\All Control Panel Items\Credential Manager) 中。请注意,在 IE 中设置代理时,高级按钮允许您控制哪个 URL 通过代理,哪个不通过。

绝对不需要触摸 Visual Studio 配置文件。

于 2014-10-29T13:28:37.763 回答