According to http://docs.sonarqube.org/pages/viewpage.action?pageId=1441942 We have to set the styleCop Path as
Settings > General Settings > C# > StyleCop > Path to StyleCop.dll
If there a way, I can set the value of
sonar.stylecop.styleCopDllPath
using command "MSBuild.SonarQube.Runner.exe begin" or any other means.
Default value is "C:/Program Files (x86)/StyleCop 4.7/StyleCop.dll"
I am using 32-bit wiindows 7, which does not have folder (Program Files (x86)).
I am using
SonarQube 4.5.6 LTS
C# Plugin version - 4.4
StyleCop version - 1.1
Thanks
I presume you are having problem setting the path for the styleCop.
You could try to use the environment variable %PROGRAMFILES% to get into your program files folder, regardless your operating system language.
so, it would be something like that: %PROGRAMFILES%/StyleCop 4.7/StyleCop.dll
Just make sure you have this directory on your machine!
hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.