I'm currently migrating dozens of projects to .NET 10. All of them so far were basically one line changes and a recompile.
You should be able to go from .NET 6->10 without almost any changes at all.