title: How do I pass this common property to MSBuild using TeamCity?
body: <p>I am using the TeamCity Visual Studio runner. I want to add a setting that is not accessible from Visual Studio.</p>
  
  <pre><code>/Property:FileAlignment=4096
  </code></pre>
  
  <p>I typed that directly into the build step "Command line parameters." The  build log shows the error: </p>
  
  <blockquote>
    <p>MSBuild command line parameters contains "/property:" or "/p:" parameters. Please use Build Parameters instead.</p>
  </blockquote>
  
  <p>I don't understand how to provide this to MSBuild from TeamCity and get rid of this warning!</p>
  
  <h3>1. Which kind of parameter should I use?</h3>
  
  <p>There are 3 kinds: </p>
  
  <ul>
  <li>Configuration parameters</li>
  <li>System properties</li>
  <li>Environment variables.</li>
  </ul>
  
  <p>I don't want an environment or system variable because I don't want this  build to depend on anything external. I am going to try Config right now, but then I'm not sure I'm filling it in right.</p>
  
  <h3>2. How can I tell this parameter is actually getting used?</h3>
  
  <p>The build log, which  seems only to have navigable/foldable xml-like levels with their program, did not say the build parameters. </p>