-
Notifications
You must be signed in to change notification settings - Fork 739
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 the deprecated/unused dotnet-xunit dependency #4574
Remove the deprecated/unused dotnet-xunit dependency #4574
Conversation
@@ -28,8 +28,6 @@ | |||
--> | |||
<MicrosoftCodeCoveragePkgVer>[17.4.1]</MicrosoftCodeCoveragePkgVer> | |||
<OTelPreviousStableVer>1.5.0</OTelPreviousStableVer> | |||
<SerilogPkgVer>[2.8.0,3.0)</SerilogPkgVer> | |||
<SystemCollectionsImmutablePkgVer>1.4.0</SystemCollectionsImmutablePkgVer> |
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.
@CodeBlanch these are no longer needed I assume?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4574 +/- ##
==========================================
+ Coverage 85.13% 85.18% +0.05%
==========================================
Files 320 320
Lines 12679 12679
==========================================
+ Hits 10794 10801 +7
+ Misses 1885 1878 -7 |
Is adding DotNetCliToolReference required? I removed the |
Probably not needed on modern tools https://xunit.net/docs/nuget-packages.
|
I haven't looked into why this happened and nobody noticed this previously, just got the warning while doing local build.
The problem is that
dotnet-xunit
is aDotNetCliToolReference
rather thanPackageReference
, so the version specified inopentelemetry-dotnet/Directory.Packages.props
Line 39 in 2e57e2d
Also, the existing code has reference to
DotNetXUnitCliVer
while that variable is not even defined anywhere:opentelemetry-dotnet/test/OpenTelemetry.Api.Tests/OpenTelemetry.Api.Tests.csproj
Line 31 in 2e57e2d