Visual Studio的NCB文件位于何处? [英] Where is Visual Studio's NCB file located?
问题描述
我怀疑我的Visual Studio Intellisense已停止工作.我已经读到这可能是NCB文件损坏的原因,需要删除.我已经在整个计算机上搜索了NCB文件,但是没有弹出搜索结果.我在哪里可以手动找到该文件?
I have a suspicion that my Visual Studio Intellisense has stopped working. I have read that this may be the cause of the NCB file being corrupted and needs to be deleted. I have searched for the NCB file throughout my computer but no search results have popped up. Where can I manually locate this file?
推荐答案
如果您有一个:,它应该与解决方案(.sln)文件位于同一目录中,并具有相同的基本名称.
If you have one: it should be in the same directory as your solution (.sln) file, with the same basename.
如果您的解决方案是C:\projects\acme.sln
,则应该是C:\projects\acme.ncb
.
If your solution is C:\projects\acme.sln
then it should be C:\projects\acme.ncb
.
但是:从Visual Studio 2010开始,它不再使用.ncb系统.而是创建一个扩展名为.sdf的文件.
But: Starting with Visual Studio 2010, it no longer uses the .ncb system. Instead, it creates a file with a .sdf extension.
所以您可能应该在寻找C:\projects\acme.sdf
.
So you should probably be looking for C:\projects\acme.sdf
.
请参见 IntelliSense/浏览选项有关详细信息,请参见VC ++ 2010 .
这篇关于Visual Studio的NCB文件位于何处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!