-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
ValueTuple Package not necessary for .Net 4.7 #578
Comments
Hi @bdarby22. Thanks for reporting this. If that is correct, we'd have to add a separate framework target for I do wonder, though: Wouldn't it make even more sense for the .NET team to change the |
According to https://github.com/dotnet/corefx/issues/23085, this has already happened. But after the ordeal of #566 and #567, I am very reluctant to potentially repeat the same mistake by upgrading |
Can use moq 4.8.0, which doesn't have System.ValueTuple dep. |
I'm still seeing a dep on System.ValueTuple 4.3.0 when installing Moq 4.8.1 |
@steelerc Use 4.8.0 |
Once released, a particular version never get changed. 4.8.1 will always have that particular issue. Expect a fix for 4.8.2 in about 3 or 4 weeks' time. Until then use 4.8.0 like suggested above. ;-) |
Eagerly waiting for 4.8.2 because of this as 4.8.0 depends on |
I'll try to resolve this during the weekend ahead. |
@bdarby22 - Moq 4.10.1 has just become available on Moq. That version no longer has a dependency on System.ValueTuple. |
Many thanks. |
As of .Net 4.7, the ValueTuple is provided in the framework and the separate package reference is not necessary. Its inclusion conflicts with the system library.
e.g. mock.Setup(e => e.DoStuff(It.IsAny<(int MyInt, DateTime MyDateTime) >())).Verifiable();
This would not compile until I forcibly removed the ValueTuple package reference from my project.
The text was updated successfully, but these errors were encountered: