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

Remove uses of System.ValueTuple #2324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rob-Hague
Copy link
Contributor

System.ValueTuple is not included in net462. For reasons that I can't explain, I am seeing local test errors in #2142 in VS (but not on the command line) relating to missing System.Runtime.CompilerServices.Unsafe assembly. That assembly seems to be a runtime dependency (?) of System.Memory 4.5.0 which this library references.

Bumping System.Memory to 4.5.5 appears to fix those issues, but the net462 build fails due to missing System.ValueTuple on net462. I guess System.Memory 4.5.0 brings that in implicitly (it is not listed as a dependency). Instead of adding an explicit reference to the System.ValueTuple package on net462, we can just remove the few internal uses.

tl;dr this unblocks bumping the System.Memory version which fixes some strange local test issues

System.ValueTuple is not included in net462. For reasons that I can't explain, I am
seeing test errors on another branch in VS (but not on the command line) relating to
missing System.Runtime.CompilerServices.Unsafe assembly. That assembly seems to be a
runtime dependency (?) of System.Memory 4.5.0 which this library references.

Bumping System.Memory to 4.5.5 appears to fix those issues, but the net462 build fails
due to missing System.ValueTuple on net462. I guess System.Memory 4.5.0 brings that in
implicitly (it is not listed as a dependency). Instead of adding an explicit reference
to the System.ValueTuple package on net462, we can just remove the few internal uses.

tl;dr this unblocks bumping the System.Memory version which fixes some local test issues
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.

1 participant