Omnisharp服务器无法在VS Code(WSL)上启动

我正在使用:

  • Windows 10专业版
  • VS代码WSL:Ubuntu v1.39.2
  • Omnisharp C#扩展v1.21.5

问题

安装后查看Omnisharp日志时,出现以下错误:

  

在11/4/2019,8:14:40 PM启动OmniSharp服务器
      目标:/c/Users/path/to/my/solution.sln
  [错误]错误:产生/home/wsl-user/.vscode-server/extensions/ms-vscode.csharp-1.21.5/.omnisharp/1.34.5/run ENOENT

我已经四处搜寻,可以看到此错误通常是由于系统路径上没有C:\Windows\System32\引起的。但是,我已经确定存在该问题,并已重新启动VS Code,并多次卸载和安装扩展程序,但无济于事。

我已经看到并尝试过的一些问题:
https://github.com/OmniSharp/omnisharp-vscode/issues/2525
https://github.com/OmniSharp/omnisharp-vscode/issues/32

任何建议都会受到欢迎

fghjq 回答:Omnisharp服务器无法在VS Code(WSL)上启动

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3163954.html

大家都在问