我注意到 Visual Studio 2019 v16.0.1 的一个奇怪问题,关于“不需要使用指令”的 IntelliSense 通常缺少灰色,并且缺少 using 的类型引用建议不起作用。
我也尝试过 Visual Studio 2019 预览版,但没有成功。
我尝试了以下方法:
任何其他建议将不胜感激。
最佳答案
.vs
文件夹(它是包含解决方案 *.sln 的文件夹内的隐藏文件夹)解决了我的问题
更新来自评论
Deleting Browse.VC.db file within .vs folder worked for me.
I did this to avoid deleting .suo which has information I want to preserve
注意 1:我使用的是 Visual Studio 2019,但它可能适用于其他版本
注意 2:这并没有解决 OP 问题,但它是解决您的问题的好选择
关于c# - Visual Studio 2019 进入定义状态,Intellisense 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57474785/