Answers for "visual studio code c# error omnisharp"

C#
3

visual studio code c# error omnisharp

if visual studio code its linked with unity on file -> preferences ->
external editor and you have the c# extension installed on visual studio
code, follow this tutorial/guide, else do this things first.

First unistall the c# extension, then go on settings and search by 
omnisharp path and click "edit in setting.json", there, on the field
"omnisharp.path" : "" fill the empty string with "latest" like that:

"omnisharp.path" : "latest"
  
after that reload visual studio code and download the c# extension
again. If it still doesnt work unistall it again and install like this:

1 - Download this zip: https://github.com/OmniSharp/omnisharp-vscode/issues/2509
the file link is in a comment from the user alkaitagi and its the third
commentary.
2 - Extract the vsix file from the zip
3 - press ctrl+shift+p or cmd+shift+p
4 - search by vsix and hit enter
5 - select the vsix file and it will download correctly

after all these steps the intellisense will probably work
Posted by: Guest on August-14-2021

C# Answers by Framework

Browse Popular Code Answers by Language