Many 'Package failed to load' errors on Visual Studio Pro 2022 after installing an extension

Julien 11 Reputation points
2022-06-09T22:12:55.083+00:00

I have installed Whole Tomato Visual Assist extension and since then Visual studio shows many error messages on startup.
ActivityLog.xml shown for instance "SetSite failed for package [MEF Service Broker Package]Source"

I have tried many solutions found online, like removing %localappdata%\Microsoft\VisualStudio\17xxx folder
repairing Visual Studio
devenv.exe /clearcache
devenv.exe /resetuserdata
devenv /updateconfiguration
devenv /setup
etc.

The best I can achieve is with devenv.exe /resetuserdata: I have then a clean, usable Visual Studio.
But as soon as I install an extension (like Copilot) and restart Visual, I'm back to the start with many error message about packages that fail to load
210026-image.png

Community Center Not monitored
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Julien 11 Reputation points
    2022-06-09T22:34:22.483+00:00

    This suggestion seems to help, as I can now load some projects:
    https://stackoverflow.com/a/51588427/1033400
    What is gacutil doing?

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.