A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Try these steps in order:
- Check for a code parsing blocker in the current file
IntelliSense can stop working if there is an incomplete function or another code error above the cursor. It also does not work inside comments or string literals. Test in a simple
.csfile by placing the cursor in normal code and checking whether completion appears. - Verify IntelliSense automatic options are enabled IntelliSense works automatically by default, but those automatic options can be turned off. Re-enable the IntelliSense automatic behavior in Visual Studio options, then test again.
- Disable third-party extensions temporarily A reported resolution for similar behavior in Visual Studio 2022 is to disable or uninstall installed extensions from: Extensions > Manage Extensions > Installed Then restart Visual Studio and test IntelliSense again.
- Repair Visual Studio If disabling extensions does not help, run a repair from: Visual Studio Installer > More > Repair
- Update Visual Studio to the latest servicing release There is a documented issue after upgrading to 17.6.1 where Roslyn and other packages can fail to load because of an assembly mismatch. The documented fix is to upgrade to 17.6.2 and restart Visual Studio.
- Clear the MEF component cache if the issue started after an update
If the problem continues after updating, delete the MEF cache files under:
%LOCALAPPDATA%\Microsoft\VisualStudio\17.0\_XXXX\ComponentModelCachewhereXXXXis a random ID, then restart Visual Studio. Warning: back up the cache files before deleting them.
Given that the solution still builds successfully, the most relevant next steps are disabling extensions, repairing Visual Studio, and clearing the ComponentModelCache after confirming the IDE is on the latest servicing version.