Update to .NET 9.0 RC2 #852
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Re: #848
This pull request includes several updates to upgrade the project from .NET 8.0 to .NET 9.0 and to update various package versions. The most important changes include updating the .NET SDK version, changing the target framework, and updating multiple package versions to their latest releases.
.NET Version Updates:
.github/workflows/dotnetcore.yml
to use .NET SDK version9.0.100-rc.2.24474.11
(dotnet-version
).global.json
to specify .NET SDK version9.0.100-rc.2.24474.11
(version
).Target Framework Update:
Directory.Build.props
tonet9.0
(TargetFramework
).Package Version Updates:
Directory.Packages.props
to their latest versions, including:FastEndpoints
to5.30.0.10-beta
.Microsoft.EntityFrameworkCore
packages to9.0.0-rc.2.24474.1
.xunit.runner.visualstudio
to3.0.0-pre.35
.Project Configuration Update:
Microsoft.EntityFrameworkCore.Design
package reference insrc/Clean.Architecture.Web/Clean.Architecture.Web.csproj
to include specific assets (PrivateAssets
,IncludeAssets
).Screenshots:
Swagger working:

Output from

dotnet run -- project src/CleanArchitecture.Web