首页 > 代码库 > visual studio 远程服务器返回了意外响应:(417)expectation failed

visual studio 远程服务器返回了意外响应:(417)expectation failed

解决方法:

修改devenv.exe.config文件,添加 <servicePointManager expect100Continue="false" />

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.config

 <system.net>
        <settings>
            <ipv6 enabled="true"/>
            <servicePointManager expect100Continue="false" />
        </settings>
    </system.net>