如何将版本添加到“Visual Studio 版本选择器",我的列表为空 [英] How do I add versions to “Visual Studio Version Selector”, my list is empty

查看:35
本文介绍了如何将版本添加到“Visual Studio 版本选择器",我的列表为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 VS 2008、2010 和 2012.

I have VS 2008, 2010, and 2012 installed.

最初安装的是 VS2013 Team Explorer(仅限 Shell).我卸载了那个.

Initially, VS2013 Team Explorer was installed (Shell only). I uninstalled that.

现在,Visual Studio 版本选择器在执行 .sln 文件时显示一个空列表.什么都没有显示.

Now, the Visual Studio Version Selector shows an empty list when executing a .sln file. Nothing shows.

如何重新填充此列表?它存储在哪里?注册表?我试图查找条目,但由于列表中实际上没有任何项目,因此我无法搜索特定字符串.

How can I repopulate this list? Where is it stored? Registry? I tried to find entries, but since it doesn't actually have any items in the list, I couldn't search for a specific string.

推荐答案

我刚刚在与现有 2013 安装并行安装 Visual Studio 2015 后遇到了同样的问题.在我的情况下,结果证明问题与解决方案文件本身有关:版本选择器似乎不喜欢 BOM 等(但不知道解决方案是如何瘫痪的).确保解决方案以

I just encountered the same issue after installing Visual Studio 2015 parallel to an existing 2013 installation. In my case it turned out that that the problem was related to the solution file itself: It seems that the version selector does not like BOMs etc. (don't know how the solution got crippled, though). Make sure that the solution starts with

Microsoft Visual Studio Solution File, Format Version 12.00

并且在此之前没有空格、不可打印字符等.保存文件后,效果应立即可见,并返回正确的图标.

and has no space, non-printable character etc. before that. After saving the file, the effect should be immediately visible with the correct icon returning.

这篇关于如何将版本添加到“Visual Studio 版本选择器",我的列表为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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