Its always worth having a look at the support terms for DotNet. As DotNet 7 is out of support but DotNet 6 still has support until october this year and DotNet 8 is also longterm support until 2026. Wouldn't it be good to try to go to 8 and have a look at the next longterm support which still has to be announced.
As I'm working at an IT department we removed all DotNet 7 installations and replaced them with 8. Next thing in few months will be removing DotNet 6 and also replacing it with 8.
Safety always first because we live in rude times and cyber wars attacking every minute thousands of servers and PC and searching for vulnerabilities. Of course game developers focus on the work and not the vulnerabilities of the used tools.
cheerz
Richard TheVoice :)