Snice .net7 and .net6 are end of support, you can try to install one of them.
Inspiration from MS experts' posts