简体   繁体   中英

.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.

将 VSC 中的 C# 扩展降级到 1.21.13 版似乎解决了我的所有问题(我已经在网上某处阅读了此解决方案),但我不确定这是否是解决问题的最佳方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM