title: Using Sonar MSBuild Runner with /p:IsPackaging=True
body: <p>I've a Visual Studio Team Services build definition containing a Visual Studio Build task surrounded by the Sonar Begin Analysis and End Analysis task. The Visual Studio Build packages a SharePoint provider hosted add-in using the /p:IsPackaging=True property. If this property is set I get the following error from the Sonar Build Runner:</p>
  
  <pre><code>2015-11-27T13:23:05.9534586Z WARNING: Duplicate project GUID: "31ef7995-fdbc-4307-9024-a3d640fdf987". 
  Check that the project is only being built for a single platform/configuration and that that 
  the project guid is unique. The project will not be analyzed by SonarQube. 
  </code></pre>
  
  <p>Of course I could first build the solution without the /p:IsPackaging=True and running analysis on this and in a second step do the packaging, but this seems like a waste of resources to have to build the solutions twice.</p>
  
  <p>Any idea how I can package a SharePoint provider hosted Add-In and use the same task for code analysis with Sonar?</p>
  
  <p>Sonar version in use is 5.1.2. And MSBuild.SonarQube.Runner version used by the VSTS task is 1.0.1.</p>