I have identified that my inability of using the updated dotnet-ef tool (installed locally in my project) when it tries to scaffold anything might be related it System.CommandLine trying to load v6 of System.Runtime into the default AssemblyLoadContext after the .NET 7 runtime loaded it's v7 version into the default context.
Context:


EFCore Issue for more information: dotnet/efcore#27660