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

Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source