The solution that worked for me was to change the “omnisharp.path”: from “latest” to “” in the setting.json file and delete the 1.38.3-beta.31 folder in C:\Users{username}.vscode\extensions\ms-dotnettools.csharp-1.24.1.omnisharp
- In visual studio code press CTRL + Shift + P
- search for json and choose Preferences: Open settings (JSON)
- change “omnisharp.path”: from “latest” to “”
- delete the 1.38.3-beta.31 folder in C:\Users{username}.vscode\extensions\ms-dotnettools.csharp-1.24.1.omnisharp
- Go to extension and install the C# v1.24.1 extension
Hope it helps someone. I searched for a while to find out this worked for me.