If your problem is the same as mine, you can try the following steps to see if it works.
- Right Click on Visual Studio> Open File Location.

- Right Click on Visual Studio Shortcut > Select Troubleshoot compatibility.

- Select Troubleshoot Program.

- Check The program requires additional permissions.

- Click on Test the program.

- Wait for a moment till the program starts.
- Click Next.
- Select “Yes, save these settings for this program”.

- Wait for resolving the issue.
- Make sure the final status is fixed.

- Click Close.
If the response is helpful, please click "Accept Answer" and upvote it. 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.