-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Update xunit version on release branch #59277
Conversation
Conflicts: eng/Versions.props
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsCherry pick of #59275 Resolved conflicts:
|
Per offline conversation, @maryamariyan identified the failures here were caused by xunit/xunit@87322e9#diff-002769cbe13c8eb7dfb43a11a837108f0c269aedb5999a7495dad878826ee013L16 That change included NETStandard.Library which increased the number of package we saw in these test project graphs which overlap with projects. NuGet assumes that our projects should be used, but those no longer support the older TFMs and thus the restore failure. @maryamariyan will follow up with @bradwilson and @clairernovotny to see if that change was intentional and see if we want that in user projects. We can workaround it by adding a newer NETStandard.Library package reference to these test projects, since the newer package will avoid package references on frameworks where the assembly is inbox, rather than relying on that package to apply no asset (as we did in 1.x). |
We're already doing that at least for .NETCoreApp: runtime/eng/testing/xunit/xunit.targets Lines 4 to 6 in 03bc2c2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments
Co-authored-by: Viktor Hofer <[email protected]>
What's the proposed fix on the xUnit.net side? |
I think it would be to add back the empty dependency group, so that it's like this: |
I was led astray by the tooling. 😂 Version |
I see. The empty dependency group is a manual optimization folks did a lot with Technically you can "teach" nuget about the empty dependency group by cross-compiling for |
Merging this infrastructure reliability fix as tell-mode. |
Cherry pick of #59275
Resolved conflicts:
eng/Versions.props