Visual Studio 2010,“文件”>最近的项目和解决方案”不是主动的!

发布于 2024-10-30 14:53:56 字数 530 浏览 1 评论 0原文

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

它应该看起来像这样

但我的如下所示;

在此处输入图像描述

如您所见,同样在起始页上,“最近的项目”上只有两个项目考虑到这种情况,这部分很奇怪。

我应该在这里做什么才能让它发挥作用?

预先感谢您的帮助。

编辑

这是自定义窗口的外观;

在此处输入图像描述

这是 regedit 视图;

在此处输入图像描述

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

It should look like this

but mine is like below;

enter image description here

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?

Thanks in advance for your help.

EDIT

here is how customize window looks;

enter image description here

and here is the regedit view;

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

你在我安 2024-11-06 14:53:56

您似乎有两个单独的问题:

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

  2. 您最近的项目中的项目比应有的少很多。

解决方案#1:转到“工具”>“工具”>定制>命令。从那里您应该能够选择“文件|最近的文件”和“文件|最近的项目和解决方案”。接下来,单击“全部重置”。希望您现在已经拿回了这两个列表。

解决方案#2:这个问题有点复杂,因为它可能涉及很多问题。

  1. 首先,我会确保您在“工具”>“最近的文件”选项中拥有所需的编号。选项>环境>常规。

  2. 如果您已经有该条目,请检查注册表位置并确保此处确实有条目,因为这是 VS 从中提取它的地方。 HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList 。
    10.0 适用于 VS 2010。更多信息请此处。如果那里什么都没有,那么你最近的项目没有被正确保存。

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

  4. 最后,这可能是由于 Windows 资源管理器设置隐藏了最近的文件。这是可能的,因为 VS 从同一位置获取有关最近文件的指示。您需要确保 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer“NoRecentDocsHistory”为零。有关此可能的解决方案的更多信息以及此问题的其他想法可以找到 此处

It seems you have two separate problems:

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

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

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.

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

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

  2. 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_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList .
    The 10.0 is for VS 2010. More info here. If there's nothing there then your recent projects aren't being saved properly.

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

  4. 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_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer "NoRecentDocsHistory" is zero. More info on this possible solution as well as other ideas to this problem can be found here.

迷鸟归林 2024-11-06 14:53:56

这对我有用。

打开记事本并将下面的文本粘贴到其中,不要包含 ===== 部分。

Windows 注册表编辑器版本 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsHistory"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList]

================================ =================================================== ===
现在将其另存为 vs2010-fix.reg 或任何您喜欢的文件,只需确保它以 .reg 结尾

This worked for me.

open notepad and paste the text below in it without the ===== part.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsHistory"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList]

===================================================================================
now save it as vs2010-fix.reg or whatever you like just make sure it ends with .reg

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文