Search code examples
c#.netunity-game-enginemonoomnisharp

.NETFramework Omnisharp Linux


I am trying to use Unity on Linux and in Visual Studio Code (OSS to be more specific). But Omnisharp always gives me this error:

Error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found.

I've tried installing .NET but I realized I could only install .NETCore on Linux. I've read that I should use mono but now after installing the official Mono package from pacman I still get the same error even after rebooting.

Maybe I should change Omnisharp to look for mono? I'm not sure how this works, any help would be appreciated.


Solution

  • Downgrading the C# extension in VSC to version 1.21.13 seem to solved all my problems (I've read this solution somewhere online), though I'm not sure if this is the best way to solve the problem.