Skip to content
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

Merged
merged 8 commits into from
Feb 19, 2024
Merged

Updatepackages and fix warnings #4629

merged 8 commits into from
Feb 19, 2024

Conversation

OsirisTerje
Copy link
Member

No description provided.

Copy link
Member

@mikkelbu mikkelbu left a 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

src/NUnitFramework/Directory.Packages.props Show resolved Hide resolved
src/NUnitFramework/tests/Attributes/CancelAfterTests.cs Outdated Show resolved Hide resolved
Copy link
Member

@manfred-brands manfred-brands left a 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.

Copy link
Member

@manfred-brands manfred-brands left a 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.

@OsirisTerje OsirisTerje merged commit d96485a into master Feb 19, 2024
5 checks passed
@OsirisTerje OsirisTerje deleted the Updatepackages branch February 19, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants