Visual Studio-找不到页面 [英] Visual Studio - Page not found

查看:275
本文介绍了Visual Studio-找不到页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我已经选择了一百万次,所以今天选择了工作项",但是这次我在团队资源管理器"标签的顶部遇到了此错误:

Today I selected "Work Items" as I have a million times before but this time I was met with this error along the top of my "Team Explorer" tab:

找不到页面[有些长的GUID]."

"Page [some long GUID] not found."

待更改"也发生了这种情况.

This also happened for "Pending changes".

推荐答案

要解决此问题,只需在提升的命令提示符下运行以下命令即可,详细信息

To fix the issue simply run the below command in an elevated command prompt as detailed here.

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /setup

我的理解是,此命令将当前VS设置重新创建(显然是Microsoft称为合并")到明显损坏的设置缓存中.从表面上看,这类似于删除目录路径 C:\ Users \ username \ AppData \ Local \ Microsoft \ VisualStudio \ version ,并允许Visual Studio在启动时重新创建 >.但是,我不希望直接删除此内容,而要依靠重新合并方法.

My understanding is this command forces the recreation (what Microsoft refers to as "merging") of current VS settings into what is apparently a corrupt settings cache. On the surface, this is similar to deleting the directory path C:\Users\username\AppData\Local\Microsoft\VisualStudio\version and allowing visual studio to recreate it at launch. However, I prefer to not to delete this outright and instead rely on re-merge approach.

最近,我发现一次启动多个解决方案时有时会发生这种情况(即,我有1个或多个Visual Studio实例同时加载一个解决方案).我还安装了ReSharper,SQL Prompt,VSCommands和TFS Power Tools,我相信它们在一定程度上会有所帮助.

Recently I found this sometimes occurs when I launch several solutions at once (i.e. I have 1 or more Visual Studio instances loading a solution at the same time). I also have ReSharper, SQL Prompt, VSCommands and TFS Power Tools installed which I'm sure contribute to some degree.

更新:

此修复程序应适用于 所有版本 的Visual Studio,但是您将需要在适合您的版本的目录中执行命令.例如,对于Visual Studio 2015,路径为:

This fix should work for all versions of Visual Studio, however you will need to execute the command in the directory appropriate to your version. For example with Visual Studio 2015 the path would be:

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" /setup

Visual Studio的版本映射(原始版本映射答案

Version mappings for Visual Studio (original version mapping answer here):

  • Visual Studio 2005 = 8
  • Visual Studio 2008 = 9.0
  • Visual Studio 2010 = 10.0
  • Visual Studio 2012 = 11.0
  • Visual Studio 2013 = 12.0
  • Visual Studio 2015 = 14.0
  • Visual Studio 2017 =路径已更改为:"C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Professional \ Common7 \ IDE"

这篇关于Visual Studio-找不到页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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