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

Omnisharp not working on .Net SDK 2.1.403 (Windows 7) #2995

Closed
ikinetik opened this issue Apr 17, 2019 · 3 comments
Closed

Omnisharp not working on .Net SDK 2.1.403 (Windows 7) #2995

ikinetik opened this issue Apr 17, 2019 · 3 comments

Comments

@ikinetik
Copy link

Hello,

Omnisharp stopped working today whenever I create a new project.

.Net Core SDK installed: 2.1.403
Host Version: 2.1.5
Windows OS Version: 6.1.7601
VS Code version: 1.33.1

Output Log:

Starting OmniSharp server at 4/16/2019, 7:33:36 PM
Target: c:\Users\Admin\Documents\Coding Dojo\C# stack\Entity\WeddingPlanner

OmniSharp server started.
Path: C:\Users\Admin.vscode\extensions\ms-vscode.csharp-1.19.0.omnisharp\1.32.17\OmniSharp.exe
PID: 7376

System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at OmniSharp.Stdio.Driver.Program.<>c__DisplayClass0_1.

b__1()
at OmniSharp.HostHelpers.Start(Func`1 action)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

Thank you to all who can help!

@filipw
Copy link
Contributor

filipw commented Apr 17, 2019

You need to install .NET 4.7.2.
Latest OmniSharp requires .NET 4.7.2, see https://github.com/OmniSharp/omnisharp-roslyn/blob/master/CHANGELOG.md#13214---2019-04-08

@filipw
Copy link
Contributor

filipw commented Apr 30, 2019

I will close this because it is by design. We also already merged a change that will actually prompt you to install 4.7.2 instead of failing silently OmniSharp/omnisharp-roslyn#1469

@ikinetik
Copy link
Author

ikinetik commented Apr 30, 2019 via email

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

No branches or pull requests

2 participants