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

Upgrade to OmniSharp version 1.38.0 #4961

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

JoeRobich
Copy link
Member

No description provided.

{ 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 },
Copy link
Member Author

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) {
Copy link
Member Author

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}"
Copy link
Member Author

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",
Copy link
Member Author

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.

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

Successfully merging this pull request may close these issues.

2 participants