Pab*_*uza 2 .net c# omnisharp .net-core visual-studio-code
通过 VSCode 的源控制区域意外删除项目后,Omnisharp 完全停止工作。任何以前的项目和任何新创建的项目都不起作用。在 Visual Studio 上一切正常,所以我认为问题不在于 .NET Core 安装。我在 Mac 上。
"message": "The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) [API, API, API]"
Run Code Online (Sandbox Code Playgroud)
我试过的:
任何帮助表示赞赏,谢谢!
按照这些步骤帮助我解决了这个问题:
* Go to the VSCode settings (File > Preferences > Settings).
* Search with the keywords omnisharp use global mono to locate the configuration.
* Change the value to never from either auto or always.
* REMEMBER to restart the VSCode to activate the change (I restarted it twice to be sure).
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1644 次 |
| 最近记录: |