Visual Studio 2010,“文件”>最近的项目和解决方案”不是主动的!
我已经在 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
but mine is like below;
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;
and here is the regedit view;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您似乎有两个单独的问题:
文件菜单中缺少“最近的文件”和“最近的项目和解决方案”选项。
您最近的项目中的项目比应有的少很多。
解决方案#1:转到“工具”>“工具”>定制>命令。从那里您应该能够选择“文件|最近的文件”和“文件|最近的项目和解决方案”。接下来,单击“全部重置”。希望您现在已经拿回了这两个列表。
解决方案#2:这个问题有点复杂,因为它可能涉及很多问题。
首先,我会确保您在“工具”>“最近的文件”选项中拥有所需的编号。选项>环境>常规。
如果您已经有该条目,请检查注册表位置并确保此处确实有条目,因为这是 VS 从中提取它的地方。 HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ProjectMRUList 。
10.0 适用于 VS 2010。更多信息请此处。如果那里什么都没有,那么你最近的项目没有被正确保存。
您可以尝试调用
Devenv /ResetSettings
来重置 VS 设置。更多信息请访问 MSDN。最后,这可能是由于 Windows 资源管理器设置隐藏了最近的文件。这是可能的,因为 VS 从同一位置获取有关最近文件的指示。您需要确保 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer“NoRecentDocsHistory”为零。有关此可能的解决方案的更多信息以及此问题的其他想法可以找到 此处。
It seems you have two separate problems:
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.
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.
First, I would make sure you have the number you want for the "Recent files" options in Tools > Options > Environment > General.
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.
You could try calling
Devenv /ResetSettings
to reset the VS settings. More info at MSDN.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.
这对我有用。
打开记事本并将下面的文本粘贴到其中,不要包含 ===== 部分。
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