简体   繁体   English

Visual Studio 2012 最近的项目未在任务栏中更新

[英]Visual Studio 2012 recent projects not updated in taskbar

I have Visual Studio pinned to the taskbar.我已将 Visual Studio 固定到任务栏。 When clicking on the icon with the mouse right button, a list of recent projects and solutions in shown.用鼠标右键单击该图标时,将显示最近的项目和解决方案列表。

This used to work OK, but from some time now, the list is not being updated.这曾经可以正常工作,但从现在起,该列表不再更新。 I always see same projects and solutions under Recent , although I have worked with newer projects lately.我总是在“最近”下看到相同的项目和解决方案,尽管我最近在处理较新的项目。

How can I fix it?我该如何解决?

I'm running Visual Studio Ultimate 2012 on Windows 8 Pro.我在 Windows 8 Pro 上运行 Visual Studio Ultimate 2012。

  • Close all VS instance关闭所有 VS 实例
  • Right click on the Taskbar.右键单击任务栏。
  • Click Properties单击属性
  • Go to the Jump Lists Tab转到跳转列表选项卡
  • Uncheck Store recently opened programs取消选中存储最近打开的程序
  • Uncheck Store and display recently opened items in Jump Lists取消选中存储并在跳转列表中显示最近打开的项目
  • Click Apply/Ok单击应用/确定
  • Wait a moment稍等片刻
  • Check Store recently opened programs检查商店最近打开的程序
  • Check Store and display recently opened items in Jump Lists检查存储并在跳转列表中显示最近打开的项目
  • Wait a moment稍等片刻
  • Open your VS solution and it should now appear in the Jump List.打开您的 VS 解决方案,它现在应该出现在跳转列表中。

  • This worked as a fix for VS 2012 professional with Win 8 Pro这对使用 Win 8 Pro 的 VS 2012 Professional 进行了修复

This last check was the solution for me on Windows 10. Hope it helps someone.最后一次检查是我在 Windows 10 上的解决方案。希望它对某人有所帮助。

在此处输入图片说明

I just installed VS 2019 in January this year (2020) so there's no explanation for why this isn't yet resolved by MS;我刚刚在今年 1 月(2020 年)安装了 VS 2019,所以没有解释为什么 MS 还没有解决这个问题; if you do research, you'll see years old info indicating they were "working on a fix".如果您进行研究,您会看到多年以前的信息,表明他们正在“进行修复”。 I searched for info in the last year to ensure I got back the most relevant answers and this came up first because there was activity in 2019. I'm on Win 10 and none of the suggestions above helped.我在去年搜索了信息以确保我得到了最相关的答案,这个问题首先出现是因为 2019 年有活动。我使用的是 Win 10,但上述建议都没有帮助。

As a last resort, I manually deleted the old projects from the right-click list and that freed up space for newer files.作为最后的手段,我从右键单击列表中手动删除了旧项目,从而为新文件释放了空间。 I then opened 2 of my most recent files and they now appear.然后我打开了我最近的 2 个文件,它们现在出现了。 Better than nothing.有总比没有好。 Meh.嗯。

Check to see if you have more pinned projects than recent projects.检查您的固定项目是否比最近的项目多。 At least for my setup in VS2017, I had VS set up to display 10 project, but had more than 10 projects pinned.至少对于我在 VS2017 中的设置,我将 VS 设置为显示 10 个项目,但固定了 10 个以上的项目。

To change that:要改变这一点:

  • Go to Options --> Environment --> General --> "Items to show in recently used file list" textbox.转到选项 --> 环境 --> 常规 -->“要在最近使用的文件列表中显示的项目”文本框。 This impacts the Recent Files and Recent Projects list count.这会影响“最近的文件”和“最近的项目”列表计数。
  • Go to File --> Start Page.转到文件 --> 起始页。 If that Pinned list of projects is the same or more than the configuration, then no recents will show up.如果该固定项目列表与配置相同或更多,则不会显示最近的项目。

It is definitely debatable if Recent list should contain the Pinned items, but that is how it works.如果最近列表应该包含固定项目,这绝对是有争议的,但这就是它的工作原理。 Your truly recent projects will be listed after your pinned projects.您真正最近的项目将在您的固定项目之后列出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM