Exception after upgrading to VisualStudio 17.12.3

Windows 11 Enterprise x64
Microsoft Visual Studio Entreprise 2022 (Version 17.12.3)
SonarQube for Visual Studio (8.8.0.11278)
Coding in C#
Attempting to connect to SonarQube v9.4

After the VisualStudio update into the version 17.12.3, a warning border popups all the time.
image
The stacktrace:


The analyzer doesn’t work.
It’s seems to be a global issues:
Getting “Argument contains duplicate analyzer instances” error on latest VS 2022 version - Developer Community

Hello Jb92,

Thank you for bringing this issue to our attention. As you rightly observed, it appears to be a global concern. Rest assured, we are closely investigating the matter and will provide you with updates as we make progress.

Additionally, please note that SonarQube v9.4 is no longer supported by SonarQube for IDE.

Best regards,
Vasileios Naskos

2 Likes

Hello @vnaskos,

I have updated the version of SonarQube server to 9.9.8 and the version of the SonarAnalyzer.CSharp to 8.51. After that I don’t have the warning anymore. The analyzer seems to work.

1 Like

Hello @jb92,

Thank you for updating to a supported SonarQube version, I am glad that the issue has been resolved!

1 Like

This issue is still a problem for me, exactly the same as in the first post.

VS 2022 17.12.4
SQ Server * Enterprise Edition* v10.8.1
Latest Sonar IDE plugin 8.9.0.11507
Latest Analyzer packages from nuget.

I appreciate your patience. I’ve created a ticket to investigate and resolve the root cause of this issue.

In the meantime, as a temporary workaround, you can disable “Run code analysis in a separate process” by navigating to:
Tools > Options > Text Editor > C# > Advanced

This should help mitigate the issue while we work on a permanent fix. Thanks again for your understanding!

Best,
Vasileios

2 Likes