title: Are TFS Build Agent User Capabilities' Values Obtainable Within Build Steps?
body: <p>I'm trying to write a build step within TFS that relies on knowing where the Build agent has nuget.exe stored (the standard nuget-install step mucks around with the order of arguments in a way that breaks build execution, so I want to run the exe myself using one of the batch/shell/ps steps).</p>
  
  <p>It would seem that setting up a capability on the Build Agent with that path would make sense, but I cannot seem to reference the value in any of my build steps, and I cannot find anything helpful on MSDN. </p>
  
  <p>I'm expecting it to be something like <code>$(Env.MyUserCapability)</code>, but it never resolves to the value.</p>
  
  <p>Is it possible to retrieve a capability value within a build step? And if so, how do you do it? And if not, what is a viable alternative?</p>