Visual Studio 右键单击​​缺少找到所有参考并转到定义已禁用 [英] visual studio right click missing find all refences and go to definition disabled

查看:46
本文介绍了Visual Studio 右键单击​​缺少找到所有参考并转到定义已禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Visual Studio 2010,突然从右键菜单转到定义选项被禁用,甚至 F12 也不起作用.查找菜单中缺少所有引用选项...我经常使用它们,如何让它们工作

I am using Visual Studio 2010, suddenly from right click menu Go to Defination option is disabled and even F12 does not work. Find all referneces option is missing from the menu... i use them a lot, how can I get them work

推荐答案

我在使用 Microsoft Visual Studio 2013 Premium 时遇到了同样的问题.

I had the same problem with Microsoft Visual Studio 2013 Premium.

按照以下步骤修复:

  1. 关闭您的解决方案.
  2. 删除解决方案的 .sln 文件所在文件夹中的隐藏 .suo 文件.
  3. 打开您的解决方案.
  4. 重建您的解决方案.

F12 现在应该可以工作了.

F12 should now work.

这篇关于Visual Studio 右键单击​​缺少找到所有参考并转到定义已禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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