-
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
Emacs 26.09 on Windows - Omnisharp server 64 bits hangs Emacs #402
Comments
Hi @sebasmonia |
Hi! The solution builds 64 bits and if I try it with the x86 server, it fails to open with "Bad Image Exception". I tried changing the build configuration to use x86 but it wasn't working entirely right, eventually I gave up. |
Mhm, you might also want to try and build 25 with my patch applied too, if you are into that kind of adventures :) I think you will need to build emacs (25 or 26) with debugging symbols in order to get a stab where the hang is happening anyway if |
Btw, did you try to run the server manually with --stdio and -s flags from the terminal in order to check if x64 omnisharp-roslyn server actually helps you in any way? Just run: |
This is strange, I am running the latest version of the server and the --stdio option is not doing anything for me, apparently. I get "Omnisharp server running on port '2000' at location 'C:\HomeFolder\omnisharp_64' on host -1." Checking with omnisharp -h and "--stdio" doesn't appear listed. Maybe we are onto something here... Also, I use Emacs at work, the target solution doesn't really belong to me. I have a "semi-locked" Windows environment. I think using Emacs is already a grey area :) |
¬_¬ I downloaded the HTTP version of the server, now they are separate downloads.............................. I'm testing now with the stdio version will update in a few minutes. |
OK, it works now. I still get no definitions and no usages for anything (which is what prompted me to try a newer version of the server and Emacs 26) but that's unrelated to this...errr...non issue. |
Related to issue #315, using the latests preview of Emacs with Omnisharp Server x64, after the server finishes initializing, Emacs will hang until you kill its process.
If I start the server from the console it loads fine,
Win7 64 bits. The solution file is a mix of netcore and framework 6.4 projects.
Thank you!
The text was updated successfully, but these errors were encountered: