title: TeamCity says to use "Build Parameters" instead of "/property:" in an MSBuild step. What does that mean?
body: <p>I have a TeamCity server setup to do my CI builds. I'm building and testing a C# solution and running some custom MSBuild tasks. One of these tasks is printing a warning in my build output... </p>
  
  <blockquote>
    <p>MSBuild command line parameters contains "/property:" or "/p:" parameters. Please use Build Parameteres instead.</p>
  </blockquote>
  
  <p>I don't understand what this means or how to remove it. It doesn't Google well (with or without the typo). I ran the task from the command line (with <code>/verbosity:diagnostic</code>) and it doesn't appear, so I believe it's a TeamCity message.</p>
  
  <p>The MSBuild task is</p>
  
  <pre><code>&lt;Target Name="InstallDb"&gt;
    &lt;MakeDir Directories="$(DbPath)" /&gt;
    &lt;Exec Command="sqlcmd -S .\sqlexpress -i db\OmnyxDatabaseDrop.sql" /&gt;
    &lt;Exec Command="sqlcmd -S .\sqlexpress -i db\OmnyxDatabaseCreate.sql -v DbPath=&amp;quot;$(DbPath)&amp;quot;" /&gt;
    &lt;Exec Command="sqlcmd -S .\sqlexpress -i db\OmnyxDatabaseProgrammability.sql" /&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>And the relevant TeamCity step information is</p>
  
  <blockquote>
    <p>MSBuild version: 4.0<br>
    MSBuild ToolsVersion: 4.0<br>
    Run platform: x64<br>
    Targets: InstallDb<br>
    Command line parameters: /property:DbPath=%env.DB_PATH% </p>
  </blockquote>