We run into problems analyzing .NET projects using SonarQube 5.1.1.
Please note that FxCop rules are included at the quality profile level.
We use the MSBuild SonarQube Runner to analyze projects. But we encounter an error that says that the sonar.cs.fxcop.assembly file must be installed.
We encountered a similar problem with sonar-runner-2.4, but at this time this parameter can be passed using the sonar-project.properties file.
But since the sonar runner does not support .NET projects, we now use Runner SonarQube for MSBuild.
Could you kindly confirm how we can avoid these problems with the MSBuild SonarQube Runner and comply with the FxCop rules in .NET projects?
The C # plugin version is 4.1.
Please let me know if any further information is needed on our part.
We postponed the update of our Sonar due to this problem, since the project team is NOT OK with the FxCop rules disabled at the level of quality level.
Please help us fix this.
Thank you Sri Priyanka
source share