Unable to execute FxCop rules with MSBuild SonarQube Runner -
we facing issues while analyzing .net projects using sonarqube 5.1.1.
please note fxcop rules enabled @ quality profile level.
we using msbuild sonarqube runner analyze projects. facing error says sonar.cs.fxcop.assembly must set.
we have faced similar issue sonar-runner-2.4 @ time parameter can passed sonar-project.properties file.
but sonar-runner not support .net projects, using msbuild sonarqube runner now.
could kindly confirm how can avoid these issues msbuild sonarqube runner , execute fxcop rules on .net projects?
c# plugin version 4.1.
please let me know if further information needed our end.
we have postponed our production sonar upgrade due issue project teams not ok disabling fxcop rules @ quality profile level.
kindly in fixing this.
thanks, sri priyanka
i thinks should read http://www.sonarqube.org/easy-analysis-of-visual-studio-solutions-with-the-sonarqube-scanner-for-msbuild/ , http://docs.sonarqube.org/display/plug/c%23+plugin .
pay attention fact should run commands "developer command prompt visual studio 2013 or higher" (http://docs.sonarqube.org/display/sonar/analyzing+with+sonarqube+scanner+for+msbuild). neither dos command prompt nor windows powershell work because don't set proper variables.
the fxcop native support doesn't mean comes msbuild sonarqube runner, have install visual studio >= 2013.
moreover, found not sonar-project.properties has been deprecated, have remove avoid strange behaviors.
Comments
Post a Comment