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

Add explicit System.Memory dependency to Hosts #2443

Merged
merged 7 commits into from
Aug 31, 2022

Conversation

JoeRobich
Copy link
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
Member

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


<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
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
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
Member Author

Choose a reason for hiding this comment

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

Copy link
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