SonarLint extension in Visual Studio 2019 blocked by Group Policy

Please provide

  • Operating system: WIN 10 LTSC
  • SonarLint plugin version: v6.13.0.62767
  • Programming language you’re coding in: C++
  • Is connected mode used: Not intended
    • Connected to SonarCloud or SonarQube (and which version): N/A

And a thorough description of the problem / question: The plugin is being blocked by Group Policy on
our network…so AppLocker sometimes does this and changing settings worked but now nothing works to fix this problem…does SonarLint automatically try to connect to SonarCloud or SonarQube? That would make our network security block it…is there a way to configure SonarLint to not try and connect? It may be that it is being scanned for any dll usage that has networking functionality…

Hi @dyurkanin23 - welcome to the community.

Apologies for the delay in replying. By default SonarLint works in standalone mode i.e. it won’t attempt to talk to SonarQube/SonarCloud.

It will only attempt to contact SonarQube/SonarCloud if you have manually been through the binding process to set up Connected Mode to bind a VS solution to a Sonar project.

In that case, SonarLint will attempt to connect to the server when the solution is opened, and periodically while the solution is open to check for changes on the server.