Visual Studio Code,MAC OS X,OmniSharp服务器未运行 [英] Visual Studio Code, MAC OS X, OmniSharp server is not running

查看:1443
本文介绍了Visual Studio Code,MAC OS X,OmniSharp服务器未运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了一些官方MS文档中的指南,以开始使用,但是无论我做什么,当我尝试从VS Code运行dnu restore时,我总是发现Omnisharp服务器没有运行.命令行中的dnu正常工作.

I've had several reads on guides in the official MS documentation to get started but no matter what I do, when I try to run dnu restore from VS Code, I keep getting the Omnisharp server is not running thing. dnu from command line works fine.

我发现了这篇文章:无法运行命令在OS X上的Visual Studio代码中,但是我以上述所有方式安装了mono,但运气不好.有什么方法可以找到为什么omnisharp服务器没有在vscode留下的任何日志中运行吗?

I Found this post: Can't run commands within Visual Studio Code on OS X but I installed mono in all the ways mentioned with no luck. Is there any way to find why omnisharp server is not running in any log left by vscode?

谢谢!

推荐答案

出现相同的问题.使用dnvm upgrade -u会使情况变得更糟,因为-u选项告诉版本管理器(dnvm)使用不稳定"提要.我做了一个简单的dnvm upgrade,它现在可以工作了.

Had the same problem. Using dnvm upgrade -u made it worse because the -u options tells the version manager (dnvm) to use the "unstable" feed. I did a straight dnvm upgrade and it works now.

这篇关于Visual Studio Code,MAC OS X,OmniSharp服务器未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆