
migrate-dotnet8-to-dotnet9
Migrate a .NET 8 project to .NET 9 and resolve all breaking changes
by dotnetFree
Description
Migrate .NET 8 to .NET 9 is an agent skill that moves a .NET 8 project or solution to .NET 9 and works through its breaking changes until the result builds cleanly and passes its tests. It covers changing TargetFramework from net8.0 to net9.0, fixing build errors and new warnings after the .NET 9 SDK is installed, and adapting to behavior changes in the .NET 9 runtime, ASP.NET Core 9 and EF Core 9. It also covers replacing BinaryFormatter usage, which always throws at runtime in .NET 9, and updating CI/CD pipelines, Dockerfiles and deployment scripts. The skill does not apply when the project already targets net9.0 and builds cleanly, when the upgrade starts from .NET 7 or earlier, when the move is from .NET Framework, or when the project is a new one that starts on .NET 9. For a further move to .NET 10, the skill page points to the separate migrate-dotnet9-to-dotnet10 skill. It is published in the dotnet/skills repository on GitHub.…
Highlights
- Moves net8.0 projects to net9.0 and fixes breaking changes
- Covers ASP.NET Core 9 and EF Core 9 behavior changes
- Replaces BinaryFormatter usage
- Updates CI, Dockerfiles and deployment scripts
Ratings & Reviews
No ratings yet
Be the first to rate migrate-dotnet8-to-dotnet9.
People also visit
migrate-dotnet8-to-dotnet9 FAQ
What does this skill do?
It migrates a .NET 8 project or solution to .NET 9, resolving each breaking change in the framework, ASP.NET Core and EF Core until the project builds and its tests pass.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill migrate-dotnet8-to-dotnet9 in your project.
Is it free?
Yes. The skill page lists its pricing as Free.
When should I not use it?
When the project already targets net9.0 and builds cleanly, when upgrading from .NET 7 or earlier, when migrating from .NET Framework, or for a new project on .NET 9. For .NET 10, use migrate-dotnet9-to-dotnet10 next.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best migrate-dotnet8-to-dotnet9 alternatives?
Popular alternatives to migrate-dotnet8-to-dotnet9 include migrate-dotnet9-to-dotnet10, migrate-dotnet10-to-dotnet11 and dotnet-upgrade. See all migrate-dotnet8-to-dotnet9 alternatives





