Visual Studio version: 2026 18.2.0 (also seen in 18.1.1)
SonarQube for Visual Studio plugin version: 9.3.0.15979 - trying to upgrade to latest, having difficulty getting it to install, but also don’t see anything obviously relevant in the release notes of later versions.
Programming language you’re coding in: C#
Is connected mode used: SonarQube Community Build 26.1
And a thorough description of the problem / question:
We use NoWarn in our .csproj file to disable S3216 (ConfigureAwait(false)) for specific projects where it should not be used (i.e. ASP.NET projects).
This works fine in VS2022, SonarQube for IDE 8.14.0.12562, connected to the same SonarQube server. The rule is suppressed in these projects when the code is analyzed by SonarQube server (which is probably still using VS2022). But I’m seeing S3216 warnings in the IDE with 2026/9.x for these projects.
We did a change to how we run analysis in 9.0, but it is a bit unexpected that this doesn’t work. I will look into fixing it.
But for this specific case, it could also be possible for our analyzer team to make the permanent exception to the rule based on the ASP NET context, I will contact them and see if it makes sense
When I trigger the update inside Visual Studio, it will download the update, but it doesn’t trigger the install when Visual Studio is closed. If I update another extension at the same time, that does install, so it’s specific to the SonarQube extension.
Manually downloading and installing the VSIX worked this time.
@georgii.borovinskikh Looks good to me - confirmed I’m no longer seeing the issues that should be suppressed, and when I introduce other issues to the code they are still flagged as expected.