Bogdan Gavril MSFT
Bogdan Gavril MSFT

Reputation: 21458

SonarQube no longer detects C# issues

I upgraded my build agent to Visual Studio 2015 Update 3 and I noticed that C# code analysis issues are no longer reported.

I am using SonarQube 5.6

Upvotes: 2

Views: 346

Answers (1)

Jean-Marc Prieur
Jean-Marc Prieur

Reputation: 1649

Bogdan, the same happened to me. You need to upgrade your C# plug-in to be at least version 5.3.1

Indeed, Visual Studio 2015 Update 3 introduced a breaking change in the Static Analysis Result Interchange Format (SARIF) generated by the C#/VB compiler. As a result the C# plug-in could not find any issue any longer. SonarSource reacted quickly by providing a bug fix version (5.3.1) Note that this should not happen again as now SARIF has moved to version 1.0 (that happened in VS 2015 Update 3, and its versioning will be fully supported moving forward)

Upvotes: 3

Related Questions