Migrate from .NET 10 to .NET 8 (LTS)#29
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Conversation
- Update TargetFramework from net10.0 to net8.0 in all 18 csproj files - Downgrade Microsoft.EntityFrameworkCore packages from 10.* to 8.* - Downgrade Npgsql.EntityFrameworkCore.PostgreSQL from 10.* to 8.* - Downgrade Microsoft.Extensions.Diagnostics.HealthChecks from 10.* to 8.* - Downgrade Swashbuckle.AspNetCore from 7.* to 6.* (.NET 8 compatible) - Update all 6 Dockerfiles from dotnet/sdk:10.0 and aspnet:10.0 to 8.0 - Fix incorrect Shared project reference paths in all API csproj files (../../Shared/ -> ../../../Shared/) - Update README.md references from .NET 10 to .NET 8
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Migrates the entire microservices solution (18 projects) from .NET 10 to .NET 8 LTS.
Changes
Target Framework (all 18
.csprojfiles):TargetFramework:net10.0→net8.0NuGet Package Downgrades:
Microsoft.EntityFrameworkCore:10.*→8.*Microsoft.EntityFrameworkCore.Design:10.*→8.*Npgsql.EntityFrameworkCore.PostgreSQL:10.*→8.*Microsoft.Extensions.Diagnostics.HealthChecks:10.*→8.*Swashbuckle.AspNetCore:7.*→6.*Serilog.AspNetCore(8.*) andYarp.ReverseProxy(2.*) kept as-is (already compatible)Dockerfiles (all 6):
mcr.microsoft.com/dotnet/aspnet:10.0→8.0mcr.microsoft.com/dotnet/sdk:10.0→8.0Bug Fix:
.csprojfiles (../../Shared/→../../../Shared/). This was a pre-existing issue that caused MSB9008 warnings and Notification.API build failures.Documentation:
README.mdreferences from.NET 10to.NET 8Review & Testing Checklist for Human
dotnet buildeach API.csprojdocker compose up --buildfromsrc/to confirm containerized builds work with .NET 8 base imagesNotes
$"""..."""raw string literal syntax used inNotificationRenderer.csis C# 11, which is supported in .NET 7+.../../Shared/→../../../Shared/) resolves the pre-existing MSB9008 warnings on all services and the Notification.API build failure.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/08a338b44cd14233bccde904440ba257