環境
Unity5.3.5
VisualStudioCode 1.3.0
Mac OSX Yosemite 10.10.5
上記環境で、いままで使えていたVisualStudioCodeとUnityの同期ができなくなってしまいました。
下記エラーがでて改善できず不便です。
VisualStudioCode上のエラー
[INFO] Starting OmniSharp at '/Users/hogehoge/backlog/Chain/Chain.sln'... [ERROR] Error: Cannot start Omnisharp because Mono version >=4.0.1 is required. See http://go.microsoft.com/fwlink/?linkID=534832#_20001
何度がUnityでクラッシュした時におかしくなったのか不明ですが。
解決方法ご存知の方、教えていただけますと幸いです!
ググッて、いくつか似た現象の方がいらっしゃいまして、
既存のmonoを消して、最新版をbrew install monoでインストールしたりしましたがだめでした。
パスが通っていないか、ちょっとわからず。汗
brew info monoの情報
CG-PC3:~ hogehoge$ brew info mono mono: stable 4.2.1.102 (bottled) Cross platform, open source .NET development framework http://www.mono-project.com/ Conflicts with: czmq, disco, xsd /usr/local/Cellar/mono/4.0.2.5 (1,006 files, 175.2M) Poured from bottle /usr/local/Cellar/mono/4.2.1.102_1 (1,079 files, 205.0M) Poured from bottle From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/mono.rb ==> Dependencies Build: automake ✔, autoconf ✔, pkg-config ✔ ==> Options --without-fsharp Build without support for the F# language. ==> Caveats To use the assemblies from other formulae you need to set: export MONO_GAC_PREFIX="/usr/local" Note that the 'mono' formula now includes F#. If you have the 'fsharp' formula installed, remove it with 'brew uninstall fsharp'.

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。