Extension errors after upgrade of VS2026

Please provide

  • Operating system: Windows 11
  • Visual Studio version: 18.7.2
  • SonarQube for Visual Studio plugin version: 10.4.0.16950
  • Programming language you’re coding in: C#
  • Is connected mode used: SonarQube Community Build
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?):

And a thorough description of the problem / question:

The extension errors in nearly all menu entries. Clicking

Extensions->SonarQube->Solution Settings gives this error (typed):

The component ‘SonarLint.VisualStudioIntegrationVsix.Settings.SolutionSettings.AnalysisPropertiesControl’ does not have a resource identified by the URI ‘/SonarLint.2022;component/settings/solutionsettings/analysispropertiescontrol.xaml’.

Extensions->SonarQube->Settings… all settings pages are empty

In general I find that updating either the SonarQube extension or VS2026, that my Visual Studio 2026 installation can be wrecked to the point that I have to reinstall VS2026. This time it is only a bit broken, but uninstalling SonarQube reinstall it again can trigger the havoc. I think I can work around this by deleting the extensions folder (takes a while to find it) but this removes all my extensions…

I tried disabling the extension (hadn’t tried that before) and restarted VS2026 and now, when VS2026 starts and loads a solution, I am greeted with this error:

The ‘MigrationPackage’ package did not load correctly.

The problem may have been cause by a configuration change or by the installation of another extension. You can get more information by examining the file ‘C:\Users\\AppData\Roaming\microsoft\VisualStudio\18.0_3x17b127\Activity.xml’.

Restarting Visual Studio could help resolve this issue.

but it doesn’t help.

The Activity.xml file shows these actions:


<entry>
    <record>2123</record>
    <time>2026/06/24 11:25:10.153</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [VsPackage]</description>
    <guid>{47AFE4E1-5A52-4FE1-8CA7-EDB8310BDA4A}</guid>
  </entry>
  <entry>
    <record>2124</record>
    <time>2026/06/24 11:25:10.161</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [RestoreManagerPackage]</description>
    <guid>{2B52AC92-4551-426D-BD34-C6D7D9FDD1C5}</guid>
  </entry>
  <entry>
    <record>2125</record>
    <time>2026/06/24 11:25:10.167</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [RestoreManagerPackage]</description>
    <guid>{2B52AC92-4551-426D-BD34-C6D7D9FDD1C5}</guid>
  </entry>
  <entry>
    <record>2126</record>
    <time>2026/06/24 11:25:10.167</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [SonarLintNotificationsPackage]</description>
    <guid>{C26B6802-DD9C-4A49-B8A5-0AD8EF04C579}</guid>
  </entry>
  <entry>
    <record>2127</record>
    <time>2026/06/24 11:25:10.171</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [SonarLintNotificationsPackage]</description>
    <guid>{C26B6802-DD9C-4A49-B8A5-0AD8EF04C579}</guid>
  </entry>
  <entry>
    <record>2128</record>
    <time>2026/06/24 11:25:10.173</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [MigrationPackage]</description>
    <guid>{9640A394-C2C4-43A0-AAB8-39B257F9A225}</guid>
  </entry>
  <entry>
    <record>2129</record>
    <time>2026/06/24 11:25:10.196</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [MigrationPackage](null)</description>
    <guid>{9640A394-C2C4-43A0-AAB8-39B257F9A225}</guid>
    <hr>0x80004002 - E_NOINTERFACE</hr>
    <errorinfo></errorinfo>
  </entry>

Apparently SonarLint is loaded, but it has caused issues for the MigrationPackage. This is an issue that has hit me multiple times and I always have to fix it manually and there is no good solution I have found if I want to use SonarQube extension in VS2026.

If I ok this error message, VS loads more and even more errors are logged for other packages (provided by VS2026). Some packages are loaded without errors and some fail.

The failed ones (complete list):



  <entry>
    <record>2129</record>
    <time>2026/06/24 11:25:10.196</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [MigrationPackage](null)</description>
    <guid>{9640A394-C2C4-43A0-AAB8-39B257F9A225}</guid>
    <hr>0x80004002 - E_NOINTERFACE</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>2151</record>
    <time>2026/06/24 11:25:13.659</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [ConnectedModePackage](null)</description>
    <guid>{DD3427E0-7BB2-4A51-B00A-DDAE2C32C7EF}</guid>
    <hr>0x80004002 - E_NOINTERFACE</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>2153</record>
    <time>2026/06/24 11:25:13.731</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [TaintSyncPackage](null)</description>
    <guid>{EEEB81FA-D6C3-438D-B29E-9FAAC91471CC}</guid>
    <hr>0x80004002 - E_NOINTERFACE</hr>
    <errorinfo></errorinfo>
  </entry>

I solved it this way:

  1. Stop Visual Studio 2026.
  2. I removed the two (2) SonarQube extension folders from my user Extensions directory. It appeared to be two versions of the same extension.
  3. Remove-Item “$env:LOCALAPPDATA\Microsoft\VisualStudio\<latest 18 version>\ComponentModelCache” -Recurse -Force
  4. devenv /updateconfiguration
  5. Start Visual Studio 2026.
  6. Install the SonarQube extension again.

The settings for the extension were preserved.