-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Omnisharp Mono, Linux, Unity Instructions #311
Comments
I definitely support for adding this to readme, please submit a PR. Also, maybe it would be worth to create a package for omnisharp for you linux distro? Updating it can be pain though.. as releases come out often: |
Btw, there are plans to add automatic server download for omnisharp-emacs, as per #275 This would take a little bit of work to make it work in all cases/distros but should be portable, I think because omnisharp-mono.tgz binaries are .net/portable executables. |
@razzmatazz From what I'm aware, all of the
|
Alright - I'll keep it pretty simple then. Are there instances where the netcoreapp versions should be installed? Or should linux users just use the mono version in most instances? As for making a package - I'm happy to take a stab at it but have never done so before. I'll start with the readme :) |
Are you sure that copying System.Native library is needed? I tried it first but that didn't help: when I run omnisharp server from console it still crashed. But omnisharp-emacs uses the --stdio option, so it seems to run fine without this library. Just in case: I'm on macos. |
Could someone try the new It "works for me" on my macOS machine, but needs field testing.. Maybe this should make installation procedure easier for new people.. |
@razzmatazz Holy shit it, "just works" for me on NixOS too! Very impressive and I'm so happy to finally have a usable IDE for work. |
@lboklin awesome! I didn't think it would be so easy.. good to hear! |
@lboklin hi, is it still "just work"ing for you out of the box on nixos? mine is failing with
|
@nico202 I don't write C# anymore these days so I'm not much of help. What I'd do is check the run script and run ldd on mono.linux-x86_64 to see what might be missing. For now you could try |
I'm happy for you! However ldd seems to be ok:
edit: Ops I missed the linux-vdso.so.1 |
Hi - finally got this sorted out with some help over on the omnisharp-roslyn issues. I think that the README instructions for linux installation could use some more details. I am working with files created by Unity3d and needed to use the omnisharp-mono binaries to do so. It then requires additional tweaking to get the server to run from there.
Details on what finally got everything working perfectly for me are on this post: http://fbie.github.io/2017/04/06/omnisharp-mono-linux.html
I'm guessing that many linux users of Omnisharp are also working with Unity3d - would this be worth adding in the README? Happy to take a stab and make a pr if so.
The text was updated successfully, but these errors were encountered: