Hi @José Carlos Souza,
Welcome to Microsoft Q&A forum.
If you try to create a new but the same project by using VS 2022, in the wizard, is .NET Framework 4.7.2
available to be selected?
If .NET Framework 4.7.2
is unavailable, then please try to reset VS settings(open Developer Command Prompt for VS 2022 > run devenv /ResetSettings
) and repair .NET Framework 4.7.2 by using .NET Framework Repair Tool. If it doesn’t work, please try to install .NET Framework 4.8 and test again.
If .NET Framework 4.7.2
is available, please share us some detailed error message to check. In addition, can you confirm that these errors appeared due to the deleted .NET Framework, instead of some settings(for example Properties > Configuration Properties) have been changed in your project?
Besides, have you tried to remove the hidden .vs folder and rebuild your project? Are you using any extensions, and did you remember what you have done before these errors appeared?
Please feel free to contact us.
Sincerely,
Tianyu
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.