VS Code for Win10 C# extension issue

Hello everyone:)

As it took me some time to find out what’s the problem with my VSC unwilling to work with C# Extension, I thought I would share my findings with you :wink:

First I had to download SDK Net Core for Visual Studio. However, I kept receiving the below notification:
“[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded”.

For this I had to do the following:

  1. In the VSC menu, go into File > Preferences > Settings
  2. In the Search Setting field, type omnisharp.path
  3. Click on Edit in settings.json and put a comma behind the last entry and add the line: “omnisharp.path”: “latest”
  4. Use CTRL+S to save the changes

I was also required to install Mono and NET Framework for all the remaining warnings and errors to disappear.

It was an additional lesson :grinning_face_with_smiling_eyes:

Hope it helps!

3 Likes

Thank you for sharing this. Also awesome job for figuring it out.

1 Like

I had to make sure I had the right version of the .NET Development Pack, it has to be the exact same version Omnisharp asks for, or else it won’t find it.

1 Like

Thanks! this made me quit a while back. :heart:

1 Like

Privacy & Terms