Have you really installed it though? .NET comes in 2 versions: x86 and x64. You need to install both versions if you want to run apps that could be either. Go to command prompt and type dotnet --list-runtimes
. Do you see Microsoft.WindowsDesktop.App 6.x
in the list. If you don't then it isn't installed. If it is installed then what path does it show?
Then run dotnet --info
and show us what was printed. You should have 2 versions defined.
In your specific case it is looking for .NET 7 so you need to install this new framework if you don't yet have it.