title: VSTS: Using $(BuildID) as an argument in a build step
body: <p>I want to provide the build ID as an argument to some script in my build:</p>
  
  <p><a href="https://i.stack.imgur.com/mV3zJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mV3zJ.png" alt="BuildID"></a></p>
  
  <p>But this does not parse into the build's ID. Instead it is used literally.  See output:</p>
  
  <pre><code>dotnet publish -c Release -o C:\agent\_work\50\a\MyProject.Api --version-suffix $(BuildID)
  </code></pre>
  
  <p>Why is this?</p>