omnisharp-sublime
omnisharp-sublime copied to clipboard
Package Control has wrong Omnisharp release
Platform
- [ ] Linux
- [X] Windows
- [ ] OSX
Type
- [X] This is an issue
- [ ] This is a feature request
- [ ] Other
Checklist
- [X] It hasn't been fixed in the latest master
- [X] I can reproduce this issue in a fresh Sublime Text install without other extensions
Versions
output of mono --version:
N/A
output of msbuild /version:
N/A
Details
What's the bug? Omnisharp for sublime is using the wrong the release. When a project is setup you get the below error. Current Omnisharp release is using stdio not HTTP requests.
HTTPConnectionPool(host='localhost', port=63919): Max retries exceeded with url: /checkreadystatus (Caused by ProtocolError('Connection aborted.', ConnectionRefusedError(10061, 'No connection could be made because the target machine actively refused it', None, 10061)))
How-To
How do I reproduce this issue? 1)Install Omnisharp through Package Control. - https://packagecontrol.io/packages/OmniSharp 2)Setup project. 3)Get Connection error. 4)Close Sublime. 5)Download http release from https://github.com/OmniSharp/omnisharp-roslyn/releases - I downloaded "omnisharp.http-win-x86.zip". Release will vary depending on system. 6)Rename ~\Packages\OmniSharp\prebuilt-omnisharp-roslyn\prebuilt to prebuiltOLD 7)Extract zip. Create new folder named prebuilt and place extracted files there. 8)Open Sublime project again. No error and working.
Thank you, this fixed the localhost connection problems for me. I've tried different omnisharp releases previously.. but the http version worked perfectly.
I tried the latest release and it broke. This specific version seems to do the trick:
https://github.com/OmniSharp/omnisharp-roslyn/releases/tag/v1.37.8