Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

C# Intellisense in VS Code randomly stopped working today [Win10 OS]

Keywords are still recognized but only new user-definied classes are recognized, using namespaces isn’t recognized either, code runs fine but really annoying to code like this.

Tried everything for hours, even to the point of running a Windows 10 VM, with a new user doing a clean install of VS Code (with only the C# and .NET Install Tool for Extension Authors extensions) and .NET 7.0 SDK but still not working.

I was considering re-installing Windows on my main system but seeing as how it’s not working on the VM either that would be pointless, anyone else having this problem too?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I’ve faced the same issue today. This is due to an update of the extension to v2.0.320. You can fix this by reverting back to version v1.26.0.

You can revert using the UI by going to Extensions -> C# -> Install Another Version:
Revert C# Extension version

There also is an open Github issue related to this.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading