Visual Studio version:Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.12.3
SonarQube for Visual Studio plugin version: 8.9.0.11507
Programming language you’re coding in: c#
Is connected mode used: Yes
SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): SonarQube Cloud
And a thorough description of the problem / question:
My code is showing issues when analysed on Sonar Qube in the cloud but when I installed Sonar Qube for Visual Studio and I connected to the Cloud Project I don’t get any issues during local analysis.
I can include a verbose log output if needed but it’s quite a long log.
I am seeing some Sonar issues highlighted in the code of the IDE. And I also see the issues in the “Errors List” tab. So that was a misunderstanding by me.
However I’m seeing s6444 logged as an issue on SonarCloud but I don’t see it locally.
Thanks for your question! The issue S6444 in C# is actually a Security Hotspot, which works a bit differently from regular issues in SonarCloud. Due to some technical limitations (mainly API constraints with the Roslyn analyzer), C# Security Hotspots don’t show up in the IDE from the SonarCloud analysis at the moment.
That said, you can still review and manage them directly in SonarCloud’s web interface. If you’re not familiar with how Security Hotspots work, check out this guide: Security Hotspots
Hope that helps! Let me know if you have any other questions.