C# projects analyzed with MSBuild.SonarQube.Runner: SQ doesn't show source code with rule violations -
i analyze c# projects using msbuild.sonarqube.runner-2.1
:
- msbuild.sonarqube.runner.exe begin /k:"%skey%" /n:"%sname%" /v:"%sversion%"
- "c:\program files (x86)\msbuild\14.0\bin\msbuild.exe" /t:rebuild
- msbuild.sonarqube.runner.exe end
the analysis works fine , analyzed project created on sq.
the problem when click @ 'issues' on project's site on sq , double-click @ issue source code corresponding rule violation not shown! why?
sq version: 5.3. vs version: 2015.
i think found reason: fxcop rules violated. , fxcop analyzes compiled managed code makes impossible associate rule violation concrete line of code.
among fxcop rule violations found 1 stylecop rule violation in project. violation source code displayed because stylecop analyzes source files.
Comments
Post a Comment