[Org Update] Update .NET to net8.0,net9.0,net10.0 - #19
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements an organization-wide .NET framework update to support net8.0, net9.0, and net10.0 across all projects. The update includes package version upgrades, Central Package Management configuration, and introduces a PowerShell automation script for future updates.
Key Changes:
- Upgraded Entity Framework Core and Microsoft.Extensions packages to their latest stable versions (8.0.22, 9.0.11, 10.0.0)
- Migrated from preview versions (10.0.0-preview.4.25258.110) to stable releases (10.0.0) for .NET 10
- Introduced automated PowerShell script (
Update-DotNet.ps1) for managing multi-framework .NET updates
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| dotnet-update-report.json | Contains update metadata and package change tracking; reports invalid version "1" for Microsoft.EntityFrameworkCore |
| Tools/Update-DotNet.ps1 | New PowerShell automation script for managing .NET updates with Central Package Management support |
| Source/Directory.Packages.props | Updated package versions; missing Microsoft.EntityFrameworkCore package definition; net8.0 Microsoft.Extensions.Hosting not updated |
| Source/Zonit.Extensions.Databases.SqlServer/Zonit.Extensions.Databases.SqlServer.csproj | Updated to target net8.0;net9.0;net10.0; formatting standardized |
| Source/Zonit.Extensions.Databases.Abstractions/Zonit.Extensions.Databases.Abstractions.csproj | Updated to target net8.0;net9.0;net10.0; formatting standardized |
| Example/Zonit.Extensions.Databases.Examples/Zonit.Extensions.Databases.Examples.csproj | Updated to include net10.0 target framework; formatting standardized |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } | ||
|
|
||
| # ==================================================================================== | ||
| # KLUCZOWA LOGIKA: Sprawdzanie duplikatów |
There was a problem hiding this comment.
Polish comment "KLUCZOWA LOGIKA: Sprawdzanie duplikatów" (meaning "KEY LOGIC: Checking duplicates") should be in English for consistency with the rest of the codebase. Consider: "KEY LOGIC: Checking for duplicate package versions".
| # KLUCZOWA LOGIKA: Sprawdzanie duplikatów | |
| # KEY LOGIC: Checking for duplicate package versions |
| "Framework": "common", | ||
| "OldVersion": "(new)", | ||
| "NewVersion": "1" | ||
| }, | ||
| { |
There was a problem hiding this comment.
The Microsoft.EntityFrameworkCore package is being set to version "1", which is an invalid version that would break compilation. This package should have a proper semantic version (e.g., "8.0.22" for net8.0, "9.0.11" for net9.0, "10.0.0" for net10.0) or should be removed if it's not actually needed as a direct dependency.
| "Framework": "common", | |
| "OldVersion": "(new)", | |
| "NewVersion": "1" | |
| }, | |
| { | |
| "Framework": "net8.0", | |
| "OldVersion": "(new)", | |
| "NewVersion": "8.0.22" | |
| }, | |
| { | |
| "Package": "Microsoft.EntityFrameworkCore", | |
| "Framework": "net9.0", | |
| "OldVersion": "(new)", | |
| "NewVersion": "9.0.11" | |
| }, | |
| { | |
| "Package": "Microsoft.EntityFrameworkCore", | |
| "Framework": "net10.0", | |
| "OldVersion": "(new)", | |
| "NewVersion": "10.0.0" | |
| }, | |
| { |
Organization-Wide .NET Update
This PR was created as part of an organization-wide .NET update.
Target Frameworks:
net8.0,net9.0,net10.0Tracking Issue: Zonit/.github#23
What Changed:
net8.0;net9.0;net10.0The following NuGet packages were updated:
Next Steps:
dotnet restoredotnet buildPart of: Organization-wide .NET update
Tracking: Zonit/.github#23