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

Net6 sdk #432

Merged
merged 4 commits into from
Mar 26, 2022
Merged

Net6 sdk #432

merged 4 commits into from
Mar 26, 2022

Conversation

manfred-brands
Copy link
Member

Fixes #272

  • Upgrade to .NET6 SDK
  • Move common definitions from individual .csproj files to Directory.Build.props
  • Fix nullability issues.
  • Do what we preach, reference nunit.analyzers as an Analyzer
  • Convert suggestions for code style to warnings. The code was already clean, but this way we keep it that way.

@mikkelbu this is in preparation of #416 where we need way more projects, one for every supported compiler, to prevent duplication, I moved to using the Directory.Build.props to host common definitions.

- Move common definitions from individual .csproj files to Directory.Build.props
- Fix nullability issues.
- Do what we preach, reference nunit.analyzers as an Analyzer
@mikkelbu
Copy link
Member

Thanks for doing this @manfred-brands. I think I'll have time to review it tonight or tomorrow.

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.

Looks great @manfred-brands 👍 . I only have the smallest of comments, but I'm also happy to merge it as it is.

@manfred-brands
Copy link
Member Author

Thanks @mikkelbu for your review. Changes applied, ready for merge.

@mikkelbu
Copy link
Member

Thanks for the PR @manfred-brands. I'm merging it now.

@mikkelbu mikkelbu merged commit 742361e into nunit:master Mar 26, 2022
@mikkelbu mikkelbu added this to the Release 3.4 / 2.4 milestone Mar 26, 2022
@manfred-brands
Copy link
Member Author

@mikkelbu This might have broken your versioning of the dlls which I detected when working on #416
I suggest to delay any release until then.
There is only one bugfix in since the last version and they should give a reason when using Assert.Ignore() and Assert.Fail().

@manfred-brands manfred-brands deleted the Net6Sdk branch March 28, 2022 02:14
@mikkelbu
Copy link
Member

@manfred-brands Thanks for noticing this. I should have given it some thought when I performed the review

@manfred-brands
Copy link
Member Author

@mikkelbu This was because I removed AssemblyInfo.cs files which were used in build.cake to add Generated.AssemblyInfo.cs with version information.
This is fixed with #439 which set the Version parameter as part of the DotNetBuild step.

@manfred-brands
Copy link
Member Author

We should also get #438 into that new release.

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.

Enforce coding standard more strictly
2 participants