简体   繁体   English

Visual Studio 没有为其中一个项目显示 C# 的代码建议

[英]Visual Studio not showing code suggestions for C# for one of the projects

Detail:细节:

I have updated Visual Studio to version 16.6.1 - couple days ago.几天前,我已将 Visual Studio 更新到版本 16.6.1。

1. 1.

I have noticed the code suggestion is not working anymore for one of my projects.我注意到代码建议不再适用于我的一个项目。

在此处输入图像描述

2. 2.

But on my other project it does work..但在我的另一个项目中它确实有效..

在此处输入图像描述

More detail:更多详情:

I have followed a suggestion here: https://stackoverflow.com/a/8420870/12485722我在这里遵循了一个建议: https://stackoverflow.com/a/8420870/12485722

Here is the current options:以下是当前选项:

在此处输入图像描述

Question:问题:

How can I make it work again?...我怎样才能让它再次工作?...

have you tried re-installing Visual Studio, it might solve your problem?您是否尝试过重新安装 Visual Studio,它可能会解决您的问题?

I had multiple NuGet Packages that were not used at all.我有多个根本没有使用的 NuGet 包。

From this answer: https://stackoverflow.com/a/36645281/12485722从这个答案: https://stackoverflow.com/a/36645281/12485722

I have downloaded ReSharper Ultimate 10.1 EAP 3 for 30 days trial and Remove Unused References which also supports NuGet references as well.我已经下载了ReSharper Ultimate 10.1 EAP 3 30 天试用版删除未使用的参考,它也支持 NuGet 参考

Now the IntelliSense is up and running again.现在 IntelliSense 重新启动并运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM