Hi @Mahmoud Mostafa,
Welcome to Microsoft Q&A!
You can try to reinstall the latest supported .NET Framework from the official download page.
Download .NET Framework | Free official downloads
After installation, you can re-launch your VS2022 and check that it works properly.
If you still have the .NET Runtime error, you can use the following tool to repair your .NET Framework:
https://docs.microsoft.com/en-us/dotnet/framework/install/repair
Besides, you can also install the required .NET Framework by opening the Visual Studio Installer > Modify > Individual components tab > search ".NET Framework".
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.