Installation of extension SonarQube for Visual Studio 2022 failed with message : ""

Please provide

  • Operating system: Windows 11
  • Visual Studio version: I tried 17.13 and also the preview 17.14. Both have this issue.
  • SonarQube for Visual Studio plugin version: I tried this for 8.16 and also 8.17.
  • Programming language you’re coding in: C#
  • Is connected mode used:
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): SonarQube Community

And a thorough description of the problem / question:

I am just trying to install the extension inside Visual Studio 2022. I get the error: Installation of extension SonarQube for Visual Studio 2022 failed with message : “”. The extension will be installed when Microsoft Visual Studio is closed But when I close Visual Studio, nothing happens. The extension doesn’t get installed in Visual Studio. If I download the executable for the extension, it installs correctly. However, when there is an update to the extension, Visual Studio 2022 can’t update it. I’ve tried reinstalling Visual Studio, but this still doesn’t work.

For what it’s worth, installing other extensions have no problem.

I’m so lost what is wrong.

Hi @hungrycoder

Is this error being displayed by the Manage Extensions window or by the VSIX installer (the small window that opens after you close VS)? In the first case you can check the general VS logs and for the second case there’s a button in that window that will open the installation logs. In general though, this error is very strange as VSIX installation should be fully handled by Visual Studio and we’ve not changed our VSIX configuration recently

The error is in the Extension Manager. The VSIX installer never runs.

What’s also interesting is this only happens to the Sonar Qube extension. I’ve tried many other extensions without problems. I’ve tried repairing it and even reinstalling Visual Studio. How is the SonarQube extension different than any other extension before the VSIX installer runs?

Since it fails before VS tries to install the extension, I think it fails to download it. It could be the size of our extension or proxies interfering with the traffic (or a combination of these things). Could you try looking in VS logs to see if there are any related erros?