Open
Description
I wonder, if I could use emacs25 on WSL (Bash on Ubuntu on Windows) (it's working OOB after Creators Update) with OmniSharp-Roslyn.
I know that
net46 build requires mono (>=4.8.0) if it is run on a platform other than Windows.
And I want to avoid this by using native OmniSharp-Roslyn.
After Creators Update we gained
Windows <-> Linux Interop
So my question is - can I use it?
I tried to use scripts like:
#!/bin/sh
set -e
/mnt/c/omnisharp/OmniSharp.exe "$@"
and
#!/bin/sh
set -e # based on Cyngwin script.
/mnt/c/omnisharp/OmniSharpWrapper.exe "C:\omnisharp\OmniSharp.exe" "$@"
I also tried
(setq omnisharp-server-executable-path "/mnt/c/omnisharp/OmniSharp.exe")
I can start OmniSharp manually and it's listening on 2000, so maybe I could just attach emacs to it (but I'm not sure how, I have errors like Start it with 'omnisharp-start-omnisharp-server' first
).
I know I can use cyngwin (and it's working) but ... WSL seems to be fun!