Skip to content
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

Package Control has wrong Omnisharp release #266

Open
4 of 8 tasks
kimbo12 opened this issue Mar 4, 2021 · 2 comments
Open
4 of 8 tasks

Package Control has wrong Omnisharp release #266

kimbo12 opened this issue Mar 4, 2021 · 2 comments

Comments

@kimbo12
Copy link

kimbo12 commented Mar 4, 2021

Platform

  • Linux
  • Windows
  • OSX

Type

  • This is an issue
  • This is a feature request
  • Other

Checklist

  • It hasn't been fixed in the latest master
  • 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.

@supercomputer1
Copy link

Thank you, this fixed the localhost connection problems for me. I've tried different omnisharp releases previously.. but the http version worked perfectly.

@beautifulcoder
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants