我刚刚安装了 Visual Studio 2017 Enterprise,我做的第一件事就是尝试安装我通常喜欢的扩展。
我打开“扩展和更新”对话框,它会加载安装时附带的所有已安装插件。
我单击左侧的“在线”选项卡,它加载...“未找到任何项目”。网上没有扩展名,是吗?我确定那是对的。 </sarcasm>
所以我尝试搜索。然后我在“扩展和更新”对话框中看到一个错误:
A connection to the server could not be established because the following error(s) occurred:
The magic number in the GZip header is not correct. Make sure you are passing in a GZip stream.
Please click here to retry the request.
我在公司网络上,所以防火墙可能是个问题,但我预计 VS2015 也会有同样的问题,但事实并非如此。我可以在 2015 年浏览在线扩展,没有任何问题。
这是一个全新的安装。
我无法在网上找到任何关于此的信息,每次我发现引用此错误的内容都是因为有人编码错误,而不是因为 VS 很奇怪。
有什么想法吗?
最佳答案
这是一个应该在 15.4 版中修复的错误。
我个人可以保证它在 15.5.1+ 版本中运行良好。
这是 The Visual Studio Developer Community Problem我交叉发布了来自 MS 团队的更多详细信息。可以看到那边accepted solution是10月9号发的,说15.4已经修复了。
这也是 Release Notes from Vs2017 v15.4有关详细信息。
关于visual-studio-2017 - vs2017无法浏览在线扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45696122/