Questions tagged [sonarqube-msbuild-runner]

The SonarQube Scanner for MSBuild is the recommended way to launch a SonarQube analysis for projects/solutions using MSBuild or dotnet command as build tool. It is the result of a collaboration between SonarSource and Microsoft.

It is available as a standalone command line executable and as build steps for VSTS-TFS and Jenkins.

It supports .Net Core multi-platform projects and it can be used on non-Windows platforms.

Project Homepage

Issue Tracking

SourceCode on GitHub

130 questions
0
votes
1 answer

How can I generate report from msbuild runner for sonarqube?

I've SonarQube 5.2 with msbuild runner 1.0.2 running fine and pushing results to server. All fine. I would like to be able to generate reports of issues either as a result of runner or from SonarQube web. How can I do this?
WiSeeker
  • 812
  • 9
  • 24
0
votes
2 answers

The property "sonar.cs.fxcop.assembly" must be set and the project must have been built to execute FxCop rules

I am using SonarQube 5.1.2 with C# Plugin 4.2 and MSBuild Sonar Runner 1.0.1 being executed by Jenkins. I am getting the following error when running the analysis: ERROR: Error during Sonar runner execution org.sonar.runner.impl.RunnerException:…
0
votes
1 answer

SonarQube MSBuild runner fails on deactivated rule

SonarQube MSBuild runner fails if I deactivate FxCop rule in quality profile: Unable to find the rule key corresponding to the rule config key 'CA1305' in in repository "fxcop". I've bulk-added all the fxcop rules. Added a project. Then then…
justmara
  • 240
  • 2
  • 12
0
votes
0 answers

Configuring TFS 2013 has build issues with SonarQube

I have configured SonarQube to work with my TFS 2013. I followed the steps as mentioned in the setup doc. When i try to give a build from TFS online or Visual Studio, I am able to successfully complete the steps before Finish the analysis and upload…
0
votes
0 answers

MSBuild Sonar Runner Resharper Cannot Create Canonical Path

Running MSBuildSonarRunner 1.0.1.0, having run inspectcode.exe to generate a resharper violations report. When the sonar runner parses the report, it generates an error: it cannot create a canonical path. It looks to be appending the location of the…
0
votes
1 answer

MsBuild Runner error - sonar.cs.fxcop assembly must be set

Updated - Using the MSbuild Runner, we see the following error We have set the property in sonar.project.properties sonar.cs.fxcop.fxCopCmdPath=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis…
SandBox
  • 165
  • 2
  • 11
0
votes
1 answer

Equivalent for sonar.visualstudio.skippedProjectPattern in MSBuild Runner?

This is a second question based on the same situation described in my last question. We have a number of projects that get built several times, as they are included in several different solutions. Yet we only want them to be analyzed once, each…
Kenneth Baltrinic
  • 2,941
  • 2
  • 28
  • 45
0
votes
2 answers

Exception in SonarQube.Msbuild.Runner

Running the SonarQube.MsBuild.Runner.exe I get the following exception: Using environment variables to determine the download directory... Creating the analysis bin directory: Unhandled Exception: System.ArgumentException: Path cannot be the empty…
tobre
  • 1,347
  • 3
  • 21
  • 53
-1
votes
1 answer

SonarQube MSBuild scanner stopping after pre-processing

I'm trying to get SonarQube setup on our tfs build server and it keeps stopping the scan after pre-processing succeeds. I'm using the MSBuild.SonarQube.Runner.exe. There are no error messages at all. No indication that anything has gone wrong. I'm…
tehbeardedone
  • 2,833
  • 1
  • 15
  • 23
-2
votes
1 answer

Jenkins configuration: can't see "MSBuild SonarQube Runner" section

I can see this part in my local installed Jenkins server, but can't find it in my company's Jenkins servers. What's missing to make it show? The SonarQube Runner and Sonar sections are there.
Jirong Hu
  • 2,315
  • 8
  • 40
  • 63
1 2 3
8
9