vs2017无法浏览在线扩展 [英] vs2017 cannot browse online extensions

查看:42
本文介绍了vs2017无法浏览在线扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Visual Studio 2017 Enterprise,我做的第一件事就是尝试安装我通常喜欢的扩展.

I just installed Visual Studio 2017 Enterprise, and the first thing I do is try and install the extensions I usually prefer.

我打开扩展和更新"对话框,其中加载了安装时附带的所有已安装插件.

I open up the Extensions and Updates dialog, which loads all the installed plugins that came with the install.

我单击左侧的在线"选项卡,它会加载...未找到任何项目".网上没有扩展,是吧?我确定这是对的.</sarcasm>

I click the "Online" tab on the left, and it loads... "No items found". No extensions exist online, huh? I'm sure that's right. </sarcasm>

所以我尝试搜索.然后我在扩展和更新"对话框中看到一个错误:

So I try searching. Then I am presented with an error in the Extensions and Updates dialog:

无法建立到服务器的连接,因为发生了以下错误:

A connection to the server could not be established because the following error(s) occurred:

GZip 标头中的幻数不正确.确保您传入的是 GZip 流.

The magic number in the GZip header is not correct. Make sure you are passing in a GZip stream.

请点击此处重试请求.

我在公司网络上,所以防火墙可能是一个问题,除非我预计 VS2015 会遇到同样的问题,但事实并非如此.我可以在 2015 年浏览在线扩展,没有任何问题.

I am on a corporate network, so a firewall thing could be a problem, except I would expect that VS2015 would have the same problem, then, which it doesn't. I can browse online extensions in 2015 without any problems.

这是一个全新的安装.

我在网上找不到任何关于此的信息,每次我发现引用此错误的内容时,都是因为有人编码错误,而不是因为 VS 很奇怪.

I haven't been able to find anything about this online, every time I find something referencing this error it's because someone is coding something wrong, not because VS is being weird.

有什么想法吗?

推荐答案

这是一个应该在 15.4 版中修复的错误.

This was a bug that was supposedly fixed in version 15.4.

我可以亲自保证它在 15.5.1+ 版本中运行良好.

I can vouch personally for it working fine in version 15.5.1+.

这里是 视觉Studio 开发者社区问题 我交叉发布了来自 MS 团队的更多详细信息.你可以看到那边已经接受的解决方案是在 10 月 9 日发布的,说明它已在 15.4 中修复.

Here's The Visual Studio Developer Community Problem I cross-posted that has more details from the MS team. You can see that the accepted solution over there was posted on October 9, stating that it was fixed in 15.4.

这里还有 来自 Vs2017 v15 的发行说明.4 了解更多详情.

Here's also the Release Notes from Vs2017 v15.4 for more details about that.

这篇关于vs2017无法浏览在线扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆