-
Notifications
You must be signed in to change notification settings - Fork 676
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
Upgrade to OmniSharp version 1.38.0 #4961
Conversation
{ platformInfo: new PlatformInformation('linux', 'arm64'), id: "linux-arm64" }, | ||
{ platformInfo: new PlatformInformation('darwin', 'x86_64'), id: "darwin-x64" }, | ||
{ platformInfo: new PlatformInformation('darwin', 'arm64'), id: "darwin-arm64" }, | ||
{ platformInfo: new PlatformInformation('win32', 'x86_64'), id: "win32-x64", isFramework: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure we are only packaging the Full Framework version of O#. Packaging both in addition to our debugger and razor lsp may push our size over the marketplace limit. We should transition in a couple releases to packaging the SDK build of O# and enabling it by default.
eventStream.post(new InstallationFailure(installationStage, new Error("A release package of OmniSharp does not exist for this platform. Set \"omnisharp.path\" to \"latest\" in Settings to use an experimental build."))); | ||
continue; | ||
if (pkg.id === "OmniSharp") { | ||
if (pkg.isFramework !== useFramework) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure we are only looking at OmniSharp dependencies that match our framework option.
"workspaceContains:**/*.slnf", | ||
"workspaceContains:**/*.csx", | ||
"workspaceContains:**/*.cake" | ||
"workspaceContains:**/*.{csproj,sln,slnf,csx,cake}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplify our search for files to activate against.
"fallbackUrl": null, | ||
"installPath": null, | ||
"url": "https://roslynomnisharp.blob.core.windows.net/releases/1.38.0/omnisharp-win-x86-net6.0-1.38.0.zip", | ||
"installPath": ".omnisharp/1.38.0-net6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This install path matches the path we use when downloading latest package and avoids conflicting with full framework installs.
No description provided.