Unable to install the SonarLint extension in Visual Studio


I am unable to install the VS 2019 plugin for SonarLint.

Getting the exception from hresult 0x80131040

Any help would be highly appreciated.

I have attached the error screenshot below.



Hello @ngarg, welcome to the community.

Thank you for reporting this to us: would you be able to attach the full install log? (by clicking on the “view install log” hyperlink)


  • How are you installing the extension? Is it from the Visual Studio itself, the extensions page, or from another source?
  • Are you able to install other extensions?
  • Would you be able to repair your VS installation and retry?