omnisharp-sublime icon indicating copy to clipboard operation
omnisharp-sublime copied to clipboard

OmniSharp Error talking to localhost

Open GStrydom opened this issue 4 years ago • 2 comments

Platform

  • [ ] Linux
  • [x] Windows
  • [ ] OSX

Type

  • [x] This is an issue
  • [ ] This is a feature request
  • [ ] Other

Checklist

  • [ ] 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:

Mono JIT compiler version 6.12.0 (Visual Studio built mono)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

output of msbuild /version:

Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Details

What's the bug?

Error talking to localhost:XXXXX/checkready

How-To

How do I reproduce this issue?

Trying to open a project.

I know this issue has been raised quite a few times, but no matter what I do, I cannot get this to work. I am constantly getting the error of Error talking to localhost:XXXXX/checkready which eventually leads to Error loading project. I was rally hoping to use this as I do not have a great PC and it struggles to run Visual Studio due to only having 4GB RAM. I am really not sure what to try next. Thank you.

GStrydom avatar Dec 05 '20 07:12 GStrydom

I finally find a answer and its works FINE for me: 1 - check you have msbuild, mono, installed and added to the path,

2 - download one release from that https://github.com/OmniSharp/omnisharp-roslyn/releases (I see the bug is in the Omnisharp for Sublime)

3 - Locate your folder of omnisharp (Sublime 3 Plugins) in this case is C:\Users\MYUSER\AppData\Roaming\Sublime Text 3\Packages\OmniSharp\prebuilt-omnisharp-roslyn\prebuilt

4 - extract the omnisharp that you have download from the link below

5 - Replace the content from the prebuilt omnisharp with the new omnisharp release.

6 - Just reopen Sublime and ENJOY.

NOTE: this works if you have the localhost error talking, and if you loose, just remove the Omnisharp Package, and reinstall it and try again.

daviddotdev avatar Dec 27 '20 06:12 daviddotdev

Are there any detailed instructions on which MSbuild version is required and what path specifically to add?

I've tried adding a path in PATH to 5 different msbuild directories now, (restarted sublime text every time). No luck yet, still the same error as OP.

BjarkeCK avatar Jan 27 '22 18:01 BjarkeCK