title: How do I use custom variables in MSBuild scripts?
body: <p>Is there a way to use custom variables on the command-line when building with MSBuild.exe as follows:</p>
  
  <pre><code>MSBuild.exe bootstrapper.msbuild &lt;custom_variable1=custom_variable_value1&gt;
  
  custom_variable2=custom_variable_value2&gt;...&lt;custom_variablen=custom_variable_valuen&gt;
  </code></pre>
  
  <p>The purpose is to know whether I have to launch another executable or not.</p>