title: Pass parameters with msbuild task
body: <p>I am trying to create a build script, to migrate our build process from Cruise Control to jenkins, and I can't see how to get access to all the normal command line parameters when I call the MSBuild task.</p>
  
  <p>For instance I would like to run the equivalent of</p>
  
  <pre><code>msbuild  common.sln    /p:Platform="$(MsBuildPlatformAnyCpu)" /p:Configuration=$(MsBuildConfiguration) /v:$(MsBuildVerbosity) /p:WarningLevel=$(MsBuildWarningLevel);OutputPath="$(ProjectBinariesFolder)" /fileLogger /flp1:logfile=$(ProjectBuildLogsFolder)\$(ProjectFile)_BuildErrors.txt;errorsonly /flp2:logfile=$(ProjectBuildLogsFolder)\$(ProjectFile)_BuildWarnings.txt;warningsonly /flp3:LogFile=$(ProjectBuildLogsFolder)\$(ProjectFile)_Build.txt;Verbosity=diagnostic
  </code></pre>
  
  <p>This is my msbuild file:</p>
  
  <pre><code>&lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0" DefaultTargets="Build"&gt;
   &lt;PropertyGroup&gt;
      &lt;JenkinsBuildFolder&gt;C:\Program Files (x86)\Jenkins\jobs\build2\workspace&lt;/JenkinsBuildFolder&gt;
      &lt;ProjectSourcesFolder&gt;$(JenkinsBuildFolder)\Sources&lt;/ProjectSourcesFolder&gt;
      &lt;ProjectBinariesFolder&gt;$(JenkinsBuildFolder)\Binaries&lt;/ProjectBinariesFolder&gt;
      &lt;ProjectBuildLogsFolder&gt;$(JenkinsBuildFolder)\BuildLogs&lt;/ProjectBuildLogsFolder&gt;
      &lt;ProjectTestLogsFolder&gt;$(JenkinsBuildFolder)\TestLogs&lt;/ProjectTestLogsFolder&gt;
  
      &lt;ProjectGuid&gt;{F8A25B4A-589A-4D3D-A568-4700FD776250}&lt;/ProjectGuid&gt;
  &lt;/PropertyGroup&gt;
  &lt;ItemGroup&gt;
  &lt;ProjectToBuild Include="Common.sln"&gt;
      &lt;Properties&gt;OutputPath=$(ProjectBinariesFolder);Configuration=Build&lt;/Properties&gt;
  &lt;/ProjectToBuild&gt;
  
  &lt;/ItemGroup&gt;
  
  &lt;Target Name="Build"&gt;
    &lt;MSBuild Projects="@(ProjectToBuild)"  /&gt;         
  &lt;/Target&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>However I have no idea how to get the task  equivalent properties of the command line switches /v /filelogger etc</p>