I have a set of projects which build okay within Visual Studio 2022.
When using a build script from Windows Terminal 1.16.... it fails to recognise the SDKs and only shows 6.0 (see below).
dotnet --list-sdks
6.0.307 [C:\Program Files (x86)\dotnet\sdk]
How to I get Windows Terminal to see the installed versions of .net?