Hello @Mohamed Shawky,
Welcome to Microsoft Q&A forum.
Please kindly try following methods:
- Check if this folder(
C:\Users\<username>\AppData\Local\Microsoft\VSCommon\OnlineLicensing\VisualStudio
) exists, if it exists, try to rename theVisualStudio
folder and restart VS. If it doesn’t exist, try to rename this folder =>C:\Users\<username>\AppData\Local\Microsoft\VSCommon\17.0
and relaunch VS(you may need to log in VS again). - Try to run Visual Studio in Safe Mode(search
Developer Command Prompt for Visual Studio 2022
in Windows OS search box, launch it and rundevenv /SafeMode
command). - Try to launch
Developer Command Prompt for VS 2022
, rundevenv /log
, reproduce this issue, and check if a file called ActivityLog.xml will be generated under%AppData%\Microsoft\VisualStudio\17.0_<UniqueID>
. If it exists, try to open it and check if there’s any recorded detailed error message.
Best Regards,
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.