Open kimbo12 opened 3 years ago
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
Platform
Type
Checklist
Versions
output of
mono --version
:output of
msbuild /version
: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.