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:0758人阅读
评论(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
保存退出对话框。
重新加载解决方案,重新生成解决方案。
解决问题!
相关文章推荐
- Visual Studio使用"go to definition"出现"A definition for the symbol '<symbolName>' could not be located
- 使用dsoframer控件出现"Unable to display the inactive document. Click here to reactivate the document."的问题 .
- 使用samba时出现"Failed to find entry for user..."
- 使用samba时出现"Failed to find entry for user..."
- 使用dsoframer控件出现"Unable to display the inactive document. Click here to reactivate the document."的问题
- Visual Studio 2005/2008 F12 "Go To Definition" from VB to C#
- 用samba时出现"Failed to find entry for user..."
- 面试题: 请用代码来计算字符串"I'm go to swimming"中每一个字母出现的次数,并打印出来
- 用gcc编译.cpp文件可能出现"undefined reference to `__gxx_personality_v0'"问题
- Java JSONObject数组使用时出现"nullpointerexception"的解决办法
- WINFORM 使用datagridview取值时出现"未将对象引用设置到对象的实例"
- 请实现一个函数用来找出字符流中第一个只出现一次的字符。例如,当从字符流中只读出前两个字符"go"时,第一个只出现一次的字符是"g"。当从该字符流中读出前六个字符“google"时,第一个只出现一次的字符是"l"。
- 在使用<script>嵌入JavaScript代码时,不要在代码中的任何地方出现"</script>"字符串
- [vim] vim + ctags for "go to definition"
- 导入工程的时候,出现"No projects are found to import" 的提示
- 解决 Xcode下使用公用静态库,出现的"Duplicate Symbol"错误
- IAR 无法使用Go to definition的功能
- 使用Ecplise git commit时出现"There are no stages files"
- iOS:编译时出现"no such file or directory:xxx"以及"use twice...filenames are used to distinguish private dec
- 使用PHP中的库函数file_get_contents时出现Unable to find the wrapper "https"错误解决