Recently I started getting an error whenever I open Visual Studio 2019. The error always states something along the lines of “package did not load correctly” or “unknown error”. This bug is reoccurring and effects all versions of Visual Studio that I have installed (2015, 2017, & 2019), and even effects the Visual Studio Installer and Developer’s Console.
This started after installing Xampp and php for WordPress development, so I feel those files may be involved somehow, maybe it is a conflict with Apache and IIS, but I’m not sure. I will post some of the error message text below.
The ‘SccProviderPackage’ package did not load correctly.
The problem may have been caused by a configuration change or by the
installation of another extension. You can get more information by
examining the file
‘C:UsersUserNameAppDataRoamingMicrosoftVisualStudio16.0_9*******ActivityLog.xml’Restarting Visual Studio could help resolve this issue.
The ‘VS Setup Composition’ package did not load correctly.
The problem may have been caused by a configuration change or by the
installation of another extension. You can get more information by
examining the file
‘C:UsersUserNameAppDataRoamingMicrosoftVisualStudio16.0_9*******ActivityLog.xml’Restarting Visual Studio could help resolve this issue.
2
Answers
I upgraded Live Share on Visual Studio 2019 v16.7.6 and the error begun to appear everytime I opened a solution.
What worked for me is:
Under Extensions => Manage Extensions => Installed, disable Live Share and Enable it again.
Restart Visual studio.
That worked for me.
Well in my case I was installing the last version of
CodeMaidv12
. What It worked was to Uninstall that version and install and old one (that suits well with VS2029)CodeMaid v10.6
what it worked was:CodeMaid
fromExtensions/Installed/CodeMaid
pressUninstall
buttonCodeMaid v10
Extensions/CodeMaid/Options
(it should be working).CodeMaid
(as in picture)