-
Notifications
You must be signed in to change notification settings - Fork 723
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
Updatepackages and fix warnings #4629
Conversation
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.
LGTM. Only a couple of comments/questions.
Also have you considered to place
<ItemGroup>
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.CodeStyle">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
in some Directory.Build.props, so we don't have to have the same definition in a lot of places. I've checked if the packages is included in every csproj.
Also the same comment for the NUnit.Analyzers - although it seems like it is used in different folders
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.
Most of your changes to the .csproj files are not needed.
src/NUnitFramework/benchmarks/nunit.framework.benchmarks/nunit.framework.benchmarks.csproj
Outdated
Show resolved
Hide resolved
src/NUnitFramework/nunit.framework.legacy.tests/AssertEqualsTests.cs
Outdated
Show resolved
Hide resolved
This as a result of updating the version of the NUnit.Analyzer
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.
There were more places where the NUnit.Analyzer reference was unnecessarily updated.
There are a few left-in suppressions that can be removed now that the analyzer package is updated.
I have pushed some commit for you.
No description provided.