Hello @Yves Henri,
I may suggest try following two methods:
- Try to rename this folder
C:\Users\<username>\AppData\Local\Microsoft\VSCommon\OnlineLicensing\VisualStudio
and restart VS, you may need to sign in VS again. If possible, please also try to reset VS settings(rundevenv /ResetSettings
inDeveloper Command Prompt for VS
). - Not sure if some extensions you installed weren’t compatible with VS 2022(for example, I remember that, previously, an earlier version of Microsoft Visual Studio Installer Projects 2022 extension may cause this issue).
If you still remember the name of the extensions, please try to search and download a new .vsix file of this extension from Visual Studio Marketplace, rename the file extension from .vsix to .zip, open this .zip folder and find the
extension.vsixmanifest
file. Open it with Notepad, find and get the Id<Identity Id="XXXXXXX">
. Open CMD and useC:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VSIXInstaller.exe
to uninstall that extension. The command is like"C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VSIXInstaller.exe" /u:Id
. After that please restart VS and check again.
Actually I also doubt if something blocks VS, but I notice that "VS launches and works successfully a single time after repairing". Repairing is for VS and VS worked, though a single time, looks like the cause is more related to VS. Perhaps a reinstall(VS) will work.
Kind 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.