OmniSharp / omnisharp-sublime

C# IDE Plugin for Sublime Text 3
http://omnisharp-sublime.readthedocs.org/en/latest/
MIT License
551 stars 64 forks source link

OmniSharp Error talking to localhost #264

Open GStrydom opened 3 years ago

GStrydom commented 3 years ago

Platform

Type

Checklist

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.

daviddotdev commented 3 years ago

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.

BjarkeCK commented 2 years ago

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.