Skip to content

[Org Update] Update .NET to net8.0,net9.0,net10.0 - #19

Closed
Alerinos wants to merge 1 commit into
masterfrom
auto/update-dotnet-org-wide
Closed

[Org Update] Update .NET to net8.0,net9.0,net10.0#19
Alerinos wants to merge 1 commit into
masterfrom
auto/update-dotnet-org-wide

Conversation

@Alerinos

Copy link
Copy Markdown
Contributor

Organization-Wide .NET Update

This PR was created as part of an organization-wide .NET update.

Target Frameworks: net8.0,net9.0,net10.0

Tracking Issue: Zonit/.github#23


What Changed:

  • Projects Updated: 3
  • Packages Configured: 5
  • Package Versions Changed: 12
  • Common Packages: COMMON_5
  • Framework-Specific Packages: 4
  • Target Frameworks: net8.0;net9.0;net10.0
  • Central Package Management: Enabled

The following NuGet packages were updated:

Microsoft.EntityFrameworkCore : (new) -> 1
Microsoft.EntityFrameworkCore.Abstractions [net10.0]: 10.0.0-preview.4.25258.110 -> 10.0.0
Microsoft.EntityFrameworkCore.Abstractions [net8.0]: 8.0.16 -> 8.0.22
Microsoft.EntityFrameworkCore.Abstractions [net9.0]: 9.0.5 -> 9.0.11
Microsoft.EntityFrameworkCore.Relational [net10.0]: 10.0.0-preview.4.25258.110 -> 10.0.0
Microsoft.EntityFrameworkCore.Relational [net8.0]: 8.0.16 -> 8.0.22
Microsoft.EntityFrameworkCore.Relational [net9.0]: 9.0.5 -> 9.0.11
Microsoft.EntityFrameworkCore.SqlServer [net10.0]: 10.0.0-preview.4.25258.110 -> 10.0.0
Microsoft.EntityFrameworkCore.SqlServer [net8.0]: 8.0.16 -> 8.0.22
Microsoft.EntityFrameworkCore.SqlServer [net9.0]: 9.0.5 -> 9.0.11
Microsoft.Extensions.Hosting [net10.0]: 10.0.0-preview.4.25258.110 -> 10.0.0
Microsoft.Extensions.Hosting [net9.0]: 9.0.5 -> 9.0.11

Next Steps:

  1. Review changes
  2. Run dotnet restore
  3. Run dotnet build
  4. Run tests
  5. Merge when ready

Part of: Organization-wide .NET update
Tracking: Zonit/.github#23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread Source/Directory.Packages.props
Comment thread Tools/Update-DotNet.ps1
}

# ====================================================================================
# KLUCZOWA LOGIKA: Sprawdzanie duplikatów

Copilot AI Nov 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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".

Suggested change
# KLUCZOWA LOGIKA: Sprawdzanie duplikatów
# KEY LOGIC: Checking for duplicate package versions

Copilot uses AI. Check for mistakes.
Comment thread Source/Directory.Packages.props
Comment thread dotnet-update-report.json
Comment on lines +22 to +26
"Framework": "common",
"OldVersion": "(new)",
"NewVersion": "1"
},
{

Copilot AI Nov 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
"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"
},
{

Copilot uses AI. Check for mistakes.
Comment thread Source/Directory.Packages.props
@Alerinos Alerinos closed this Nov 17, 2025
@Alerinos
Alerinos deleted the auto/update-dotnet-org-wide branch November 17, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action-update Automated updates from GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants