We have a Sonar 4.5.1
setup with C# plugin version 3.3
installed. This server is shared by few projects. There is a .NET 4.6 project which has been started off recently and Jenkins 1.655LTS is the CI tool for the project. I have setup Jenkins "SonarQube Scanner 2.4"
as I couldn't use "MSBuild SonarQube Scanner"
. (Note: Versions of "MSBuild Sonar Scanner" available are not compatible with the C# plugin version)
I have configured fxcop configurations in Sonar properties (through Jenkins) as below
sonar.fxcop.installDirectory=C:/Program Files (x86)/Microsoft Visual Studio 14.0/Team Tools/Static Analysis Tools/FxCop/
sonar.cs.fxcop.fxCopCmdPath=C:/Program Files (x86)/Microsoft Visual Studio 14.0/Team Tools/Static Analysis Tools/FxCop/FxCopCmd.exe
**sonar.cs.fxcop.assembly=**"./Path/bin/Debug/Project.ShopWindow.Core.Contracts.dll"
Please suggest how to have more than one assembly scanned. I tried various ways (using , and space) but they don't work. Having more than one **sonar.cs.fxcop.assembly=**
is also not supported.