您的位置:首页 > 编程语言 > Go语言

Visual Studio使用"go to definition"出现"A definitio...

2012-01-28 00:00 603 查看

Visual Studio使用"go to definition"出现"A definition for the symbol '<symbolName>' could not be located

2011-09-08 17:07
58人阅读
评论(0)
收藏
举报

问题:

通过SVN管理的一个VS2010的工程,发现工程中,右键对变量使用"Go to Definition" 或者 "Go to Declaration" 或者 "Find All References"功能会出现Microsoft Visual Studio的提示对话框:"A definition for the symbol '<symbolName>' could not be located"。

解决方法:

在不打开任何解决方案的情况下,选择 Tools -> Options -> Text Editor -> C/C++ -> Advanced,将'Recreate Database' 设置为 'True'

Recreate Database = Recreate the code browsing database from scratch upon the next solution load

保存退出对话框。

重新加载解决方案,重新生成解决方案。

解决问题!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐