简体   繁体   English

当 select 第二个项目时,在 VsCode C# (Omnisharp) 中出现错误

[英]Getting error in VsCode C# (Omnisharp) when select the second project

I use the vscode 1.48.0, c# extension 1.23.0.我用的是vscode 1.48.0,c#扩展1.23.0。 I use workspace and have more than one project inside workspace.我使用工作区,工作区内有多个项目。 The problem is when i select second project omnisharp give an error " Error: command 'o.fixAll.solution' already exists".问题是当我 select 第二个项目 omnisharp 给出错误“错误:命令'o.fixAll.solution'已经存在”。 I have to restart the vscode.我必须重新启动 vscode。 But still get so many warning from omnisharp until i remove all project from workspace and put just one project in workspace.但是在我从工作区中删除所有项目并只将一个项目放入工作区之前,仍然会从 omnisharp 收到很多警告。

So, if i have to use c# extension, i always remove all project from workspace and put only one that i want to work.所以,如果我必须使用 c# 扩展,我总是从工作区中删除所有项目并只放置一个我想工作的项目。 It is so tiring.太累了。 Projects are webapp.项目是webapp。 Does anybody has this problem?有人有这个问题吗?

The appears to be an open issue for this with the Omnisharp project Omnisharp 项目似乎是一个悬而未决的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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