Skip to content

Add explicit System.Memory dependency to Hosts#2443

Merged
JoeRobich merged 7 commits intoOmniSharp:masterfrom
JoeRobich:add-system.memory-dep
Aug 31, 2022
Merged

Add explicit System.Memory dependency to Hosts#2443
JoeRobich merged 7 commits intoOmniSharp:masterfrom
JoeRobich:add-system.memory-dep

Conversation

@JoeRobich
Copy link
Copy Markdown
Member

Resolves dotnet/vscode-csharp#5352

Similar to dotnet/roslyn#63545. O# needs to have the newer version of System.Memory available when running against newer releases of VS Build Tools or .NET SDKs.

Also updates SDKs to a version that would have issues loading.

@nickspoons
Copy link
Copy Markdown
Member

From the error logs it looks like this PR will also fix #2442 and OmniSharp/omnisharp-vim#803

@JoeRobich JoeRobich requested review from 333fred and filipw August 31, 2022 16:11

<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why doesn't this version match up with the dependency version?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the assembly version doesn't match the nuget package version.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth a comment.

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.

.Net Framework 4.6.1 omnicharp intellisense abd highlight broken.

3 participants