title: Use MSBuild to define SSRS projects RDL Schema version
body: <p>I am working on a Continuous Integration project that builds a Microsoft SSRS solution. However the RDL files produced are not always of the same schema version, some of them appear in 2008 format, and others in 2010 etc as per the following:</p>
  
  <pre><code>&lt;Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"&gt;
  </code></pre>
  
  <p>Others appear like</p>
  
  <pre><code>&lt;Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"&gt;
  </code></pre>
  
  <p>I have a Build.proj file that is responsible for performing an MSBuild on the .sln files, and looks like the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;Project DefaultTarget="Compile" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"&gt;
  
    &lt;Target Name="Compile"&gt;
  
      &lt;MSBuild
        Projects="$(BuildDirectory)\ReportsPrimary.sln"
        Properties="Configuration=$(Environment)"
      /&gt;
  
      &lt;MSBuild
        Projects="$(BuildDirectory)\ReportsSecondary.sln"
        Properties="Configuration=$(Environment)"
      /&gt;
  
      &lt;MSBuild
            Projects="$(BuildDirectory)\ReportsSpecial.sln"
            Properties="Configuration=$(Environment)"
      /&gt;
  
    &lt;/Target&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>I need a means of enforcing that the RDL schema produced from the build is the 2008 version. Is it possible to perform some configuration inside my Build.proj file so that the RDL format will adhere to the 2008 schema version? </p>
  
  <p>If not how else can I achieve the same functionality? Any recommendations? CI is relatively new to me</p>
  
  <p>Thanks all!</p>