8000 Upgrade dependency on System.ValueTuple to version 4.4.0 by stakx · Pull Request #591 · devlooped/moq · GitHub
[go: up one dir, main page]

Skip to content

Upgrade dependency on System.ValueTuple to version 4.4.0 - #591

Merged
stakx merged 2 commits into
devlooped:masterfrom
stakx:net47-valuetuple
Feb 23, 2018
Merged

stakx merged 2 commits into
devlooped:masterfrom
stakx:net47-valuetuple

Conversation

@stakx
@stakx stakx commented Feb 23, 2018
Copy link
Copy Markdown
Contributor

This resolves #578.

(This change also bears the potential to retrigger problems similar to #566, which is why I tested this against different target frameworks—from net45 up to net471 and both netcoreapp1.0 and netcoreapp2.0. Visual Studio didn't report any assembly versioning conflicts, so I am reasonably confident that this is good to go.)

Version 4.3.0 doesn't properly support .NET Framework 4.7+, which
already include the `ValueTuple` types and don't play well with
a package that tries to re-define the same types.

I've run some tests for the following target frameworks, and it seems
that upgrading this package won't cause the kind of assembly version
conflicts we had when upgrading System.Threading.Tasks.Extensions to
4.4.0:

 * netcoreapp1.0
 * netcoreapp2.0
 * net45
 * net451
 * net452
 * net46
 * net461
 * net47
 * net471

If versioning conflicts will pop up despite these tests, we'll have to
multi-target Moq to `net47` as well and thereby blow up NuGet package
size even more. Hopefully that won't be necessary.
@stakx
stakx merged commit 55219b4 into devlooped:master Feb 23, 2018
@stakx
stakx deleted the net47-valuetuple branch February 23, 2018 18:47
@devlooped devlooped locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueTuple Package not necessary for .Net 4.7

1 participant

0