Visual Studio 2010,“文件"最近的项目和解决方案"不是主动! [英] Visual Studio 2010, "File > Recent Projects and Solutions" is not a active !

查看:22
本文介绍了Visual Studio 2010,“文件"最近的项目和解决方案"不是主动!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS 2010 上创建了数百个项目,但文件 > 最近的项目和解决方案"部分不存在!正常情况下应该是这样的

I have created hundreds of project on VS 2010 but "File > Recent Projects and Solutions" section is not there ! normally, it should have been like this

但我的如下;

如您所见,同样在起始页上,近期项目"部分只有两个项目,考虑到这种情况,这很奇怪.

as you can see, also on the start page, there is only two project on the 'Recent Projects' section which is odd given the circumstances.

我应该怎么做才能让它发挥作用?

what should I do here to get it worked?

提前感谢您的帮助.

编辑

这是自定义窗口的外观;

here is how customize window looks;

这里是注册表编辑器视图;

and here is the regedit view;

推荐答案

看来你有两个不同的问题:

It seems you have two separate problems:

  1. 文件菜单中缺少最近的文件"和最近的项目和解决方案"选项.

  1. The "Recent Files" and "Recent Projects and Solutions" options are missing from your File Menu.

您最近的项目中的项目比应有的要少得多.

You have a lot less Projects in your Recent Projects than you should.

#1 的解决方案:转到工具 > 自定义 > 命令.从那里您应该能够选择文件|最近的文件"和文件|最近的项目和解决方案".接下来,单击全部重置".希望您现在可以恢复这两个列表.

Solution To #1: Go to Tools > Customize > Commands. From there you should be able to select "File | Recent Files" and "File | Recent Projects and Solutions". Next, you click "Reset All". Hopefully, you have those two lists back now.

#2 的解决方案:这个有点复杂,因为它可能涉及很多方面.

Solution To #2: This one is a little bit more complicated because it could be a number of things.

  1. 首先,我会确保您在工具">选项">环境">常规"中为最近的文件"选项提供所需的编号.

  1. First, I would make sure you have the number you want for the "Recent files" options in Tools > Options > Environment > General.

如果你已经有了,请检查注册表位置并确保这里确实有条目,因为这是 VS 从中提取它的地方.HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio10.0ProjectMRUList .10.0 适用于 VS 2010.更多信息这里.如果那里没有任何内容,则说明您最近的项目没有正确保存.

If you already had that, check the registry location and make sure you actually have entries here since this is where VS pulls it from. HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio10.0ProjectMRUList . The 10.0 is for VS 2010. More info here. If there's nothing there then your recent projects aren't being saved properly.

您可以尝试调用 Devenv/ResetSettings 来重置 VS 设置.更多信息请访问 MSDN.

You could try calling Devenv /ResetSettings to reset the VS settings. More info at MSDN.

最后,这可能是由于 Windows 资源管理器设置隐藏了最近的文件.这是一种可能性,因为 VS 对最近的文件从同一个地方获取指示.您需要确保 HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer "NoRecentDocsHistory" 为零.有关此可能解决方案的更多信息以及此问题的其他想法,请参见 这里.

Finally it could be due to a Windows Explorer setting which hides recent files. This is a possibility because VS takes its directions from the same place with regards to recent files. You would need to make sure HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer "NoRecentDocsHistory" is zero. More info on this possible solution as well as other ideas to this problem can be found here.

这篇关于Visual Studio 2010,“文件"最近的项目和解决方案"不是主动!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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