title: MSBuild SonarQube runner in command line
body: <p>I have a problem analyzing a project using MSBuild SonarQube runner. SonarQube database and server are up and running, i have tried to analyze an example project and it all went well. But when i try to analyze my project something goes wrong. The analysis completes with no errors but no analysis data is saved to database, no issues, no lines of code count, nothing.</p>
  
  <p>Anyone has any idea of what could be wrong?</p>
  
  <p>EDIT:</p>
  
  <p>sonar-project.properties:</p>
  
  <pre><code>sonar.projectKey=shrooms
  sonar.projectName=Shrooms
  sonar.projectVersion=1.0
  sonar.sources=.
  </code></pre>
  
  <p>sonar.properties:</p>
  
  <pre><code>sonar.jdbc.username=user
  sonar.jdbc.password=pass
  sonar.jdbc.url=jdbc:jtds:sqlserver://localhost;databaseName=SonarQubeDB;SelectMethod=Cursor
  sonar.web.host=0.0.0.0
  sonar.web.context=/sonarqube
  sonar.web.port=9000
  </code></pre>
  
  <p>SonarQube.Analysis.xml:</p>
  
  <pre><code>&lt;SonarQubeAnalysisProperties  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sonarsource.com/msbuild/integration/2015/1"&gt;
  
    &lt;Property Name="sonar.host.url"&gt;http://localhost:9000/sonarqube&lt;/Property&gt;
  
  
    &lt;Property Name="sonar.login"&gt;admin&lt;/Property&gt;
    &lt;Property Name="sonar.password"&gt;admin&lt;/Property&gt;
  
  
    &lt;Property Name="sonar.jdbc.url"&gt;jdbc:jtds:sqlserver://localhost;databaseName=SonarQubeDB;SelectMethod=Cursor&lt;/Property&gt;
    &lt;Property Name="sonar.jdbc.username"&gt;dbusername&lt;/Property&gt;
    &lt;Property Name="sonar.jdbc.password"&gt;dbpassword&lt;/Property&gt;
  
  &lt;/SonarQubeAnalysisProperties&gt;
  </code></pre>
  
  <p>In server log theres only one new line added after i run the analysis:</p>
  
  <blockquote>
    <p>2015.07.30 17:02:29 INFO  web[o.s.s.c.ComputationService] Analysis of project shrooms (report 4) (done) | time=18179ms</p>
  </blockquote>
  
  <p>Last lines of the MSBuild.SonarRunner log:</p>
  
  <pre><code>5:01:18 PM  17:01:18.906 INFO  - Execute decorators...
  5:01:19 PM  17:01:19.969 INFO  - Store results in database
  5:02:05 PM  17:02:05.266 INFO  - Analysis reports generated in 9578ms, dir size=82 KB
  5:02:08 PM  17:02:08.922 INFO  - Analysis reports compressed in 3656ms, zip size=285 KB
  5:02:10 PM  17:02:10.704 INFO  - Analysis reports sent to server in 1782ms
  5:02:10 PM  17:02:10.704 INFO  - ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/sonarqube
  /dashboard/index/shrooms
  5:02:10 PM  17:02:10.704 INFO  - Note that you will be able to access the updated dashboard once the
   server has processed the submitted analysis report.
  5:02:14 PM  INFO: ------------------------------------------------------------------------
  5:02:14 PM  INFO: EXECUTION SUCCESS
  5:02:14 PM  INFO: ------------------------------------------------------------------------
  5:02:14 PM  Total time: 8:10.724s
  5:02:14 PM  Final Memory: 14M/310M
  5:02:14 PM  INFO: ------------------------------------------------------------------------
  5:02:15 PM  Process returned exit code 0
  5:02:15 PM  The sonar-runner has finished
  5:02:15 PM  Creating a summary markdown file...
  5:02:15 PM  Analysis results: http://localhost:9000/sonarqube/dashboard/index/shrooms
  Process returned exit code 0
  Post-processing succeeded.
  </code></pre>