C
C#•20h ago
kurumi

Migrate .NET Framework 4.8 / .NET Core 5 to .NET 9 (.NET 10)

Hello folks 👋! I maintain a solution that contains over 400 projects. They are a mix between .NET Framework 4.8 / .NET Core 5 / .NET Standard 2.0. The majority of web projects are built on .NET Framework with Microsoft.Owin, and some of them still use the old non-SDK project format. There are also several WinForms back-office applications, which we are planning to migrate to web. I’m aware that not everything can be upgraded, i.e. legacy libraries that are already out of support. My current approach is to write wrappers around such dependencies, and then gradually replace those wrappers with modern equivalents. Do you have any recommendations on upgrading such a large system? Any useful articles or guidelines you could share? I can provide additional details if necessary. However, due to NDA, I can not share certain internal information.
5 Replies
kurumi
kurumiOP•19h ago
Sure, I know that. But they are using some msbuild tricks, so it should be not a very straightforward task I wish, haha that's good point
ero
ero•19h ago
try-convert exists i guess but it's not super great? upgrading framework style to sdk style isn't a trivial process either way. there are many traces a conversion might leave in the project file which aren't actually necessary or which have more modern alternatives it's not really something you do in a day or 2 for 400 projects
kurumi
kurumiOP•19h ago
Yes, another team member estimated that as 3 sprints for migration itself and another 1-2 to regression and resolving issues So it is like 4-5 months
Pedro Gil Mora
Pedro Gil Mora•18h ago
VS 2026 comes with a migration tool along with Copilot and Claude Sonnet 4
ero
ero•18h ago
ok that seems a bit excessive lol

Did you find this page helpful?