C
C#3mo ago
whatsinaname

migrate to .NET 9

Do we have a guidelines or steps to migrate a solution to .NET 9 from older versions example .NET 8?
4 Replies
canton7
canton73mo ago
Upgrade to a new .NET version - .NET
Learn how to upgrade an app to a new .NET version. Upgrade .NET when the current version goes out of support or when you want to use new features of .NET.
Angius
Angius3mo ago
Usually it's enough to just change net8.0 to net9.0 in the .csproj and take a look at the few breaking changes there are Nuget updates cause much more issues IME
whatsinaname
whatsinanameOP3mo ago
- update your visual studio 17.12.1 - If .NET9 SDK is not installed, then Download and Install .NET 9.0 from https://dotnet.microsoft.com/en-us/download - Update the target framework - Upgrade the NuGet packages - Fix build errors if any. - run the solution - let it build and run as expected. - try to push a docker to the local docker hub and run one of the APIs
Microsoft
Download .NET (Linux, macOS, and Windows)
Free downloads for building and running .NET apps on Linux, macOS, and Windows. Runtimes, SDKs, and developer packs for .NET Framework, .NET, and ASP.NET.
whatsinaname
whatsinanameOP3mo ago
i finished the upgrade and it is working fine.

Did you find this page helpful?