Hello @Yura Yarotskyi ,
Welcome to Microsoft Q&A forum.
I suggest you first run VS as administrator, see if this error disappears. If the error persists, try to repair VS(VS Installer > More > Repair).
If you installed some extensions, try to temporarily disable/uninstall them and test again. Some extensions may interfere VS.
From looking at the error message, it seems that the issue is related to .NET/SDK.
If you try to install and use .NET 8(Installers|Windows|x64), will this error disappear?
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.