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

revert to 1.19.0 from 1.19.1 cannot find netstandard 2.0 #3070

Closed
bruce31 opened this issue May 16, 2019 · 2 comments
Closed

revert to 1.19.0 from 1.19.1 cannot find netstandard 2.0 #3070

bruce31 opened this issue May 16, 2019 · 2 comments

Comments

@bruce31
Copy link

bruce31 commented May 16, 2019

Issue Type: Bug

Win Server 2012 R2
Attempted upgrade to 1.19.1 - this required install of Framework 4.7.2
Cannot change .Net Framework version on server so needed to revert to 1.19.0

Why is .NET Framework 4.7.2 required? .Net Core 2.1 is installed on this machine. Also this is a user install of VS Code how can a machine-wide change be a requirement?

Starting OmniSharp server at 5/16/2019, 9:33:31 AM
    Target: e:\Devs\bruce317\eval\trunk\Retirement\UnitTestCode\Retirement.Utility.Extensions.UnitTest

OmniSharp server started.
    Path: C:\Users\bruce317\.vscode\extensions\ms-vscode.csharp-1.19.0\.omnisharp\1.32.18\OmniSharp.exe
    PID: 32724

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.<Main>b__1()
   at OmniSharp.HostHelpers.Start(Func`1 action) in C:\projects\omnisharp-roslyn\src\OmniSharp.Host\HostHelpers.cs:line 29

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).

Extension version: 1.19.0
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 6.3.9600

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz (64 x 2295)
GPU Status 2d_canvas: disabled_software
checker_imaging: disabled_off
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
surface_synchronization: disabled_off
video_decode: disabled_software
webgl: disabled_off
webgl2: disabled_off
Memory (System) 256.00GB (123.49GB free)
Process Argv ..\DeveloperTools\GlobalTools
Screen Reader no
VM 0%
@filipw
Copy link
Contributor

filipw commented May 16, 2019

1.19.0 requires .NET 4.7.2, however it didn't manifest itself properly with a popup message, only with a silent System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 error.

The last release that used .NET 4.6.1 was 1.18.0

Unfortunately this is by design - MSBuild 16, which is needed in OmniSharp as part of .NET Core 3.0 support, requires .NET 4.7.2 to run therefore OmniSharp was updated to it.

@filipw
Copy link
Contributor

filipw commented May 17, 2019

Closing as a duplicate of #2992 - thanks

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