SonarQube Reporting Multiple Global Analyzer Warning Message in Brand New Project

Hi. I modified the targets file contents in that build and it is probably caching the old value during the first start of vs. Can you check if the warning is still there after you restart vs once more? It should be fixed after one restart, as it will cache the correct value moving forward

You can also validate the content of C:\Users\<Your User Name>\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore\SQVS.targets matches sonarlint-visualstudio/src/Integration/CSharpVB/SQVS.targets.xml at master · SonarSource/sonarlint-visualstudio · GitHub - I added the Exclude property to no longer include the configuration file if it’s already included

After a second restart of visual studio, the warning indeed went away. Thanks.

Recap: I closed Visual Studio, installed SonarQube Reporting Multiple Global Analyzer Warning Message in Brand New Project - #14 by georgii.borovinskikh , started Visual Studio, rebuilt (still shows the warning), closed Vusual Studio and started it again. Now, a rebuild does not show the multiple key warning.

Thanks for the fast fix.

1 Like