8000 Use Central Package Management by 0xced · Pull Request #125 · adrianiftode/FluentAssertions.Web · GitHub
[go: up one dir, main page]

Skip to content

Use Central Package Management #125

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

Merged
merged 11 commits into from
Nov 28, 2024

Conversation

0xced
Copy link
Contributor
@0xced 0xced commented Nov 22, 2024

Instead of using custom <Import Project=…> use the standard Central Package Management mechanism.

Also add tests on .NET 8 and 9 and fix many warnings.

I should have looked at existing pull requests first because there's some overlap with #124.

Instead of using custom <Import Project=...> use the standard [Central Package Management](https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management) mechanism.
> warning NU1507: There are 3 package sources defined in your configuration. When using central package management, please map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: nuget.org, AnotherSource, YetAnotherSource
> warning NU1903: Package 'Newtonsoft.Json' 10.0.1 has a known high severity vulnerability, GHSA-5crp-9r3c-p9vr
Something apparently changed in the runtime when boxing enums values with multiple definitions sharing the same values such as HttpStatusCode. E.g. HttpStatusCode.Ambiguous == HttpStatusCode.MultipleChoices == 300
adrianiftode
adrianiftode previously approved these changes Nov 24, 2024
@adrianiftode
Copy link
Owner

Looks great, thanks! Do you mind not targeting NET9.0 yet? AppVeyor did not yet update their build image https://www.appveyor.com/docs/windows-images-software/#visual-studio-2022

@adrianiftode
Copy link
Owner

I've closed #124, we can merge this one.

@0xced
Copy link
Contributor Author
0xced commented Nov 28, 2024

I just removed .NET 9 support in eb40ffc, let's see how it goes on AppVeyor.

@0xced
Copy link
Contributor Author
0xced commented Nov 28, 2024

I also had to remove .NET 5 and now everything is ✅ on AppVeyor.

@adrianiftode adrianiftode merged commit b6385df into adrianiftode:master Nov 28, 2024
1 check passed
@adrianiftode
Copy link
Owner

Many thanks, Cédric! A new release is on the way.

@0xced 0xced deleted the central-package-management branch November 28, 2024 21:17
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.

2 participants
0