title: Check for 32bit/64bit environment in TFSBuild.proj
body: <p>I have a 32bit build agent on which our MSBuilds run. We recently added a new 64bit machine to our build agent array, but some things in our TFSBuild.proj file is hard coded for a 32bit machine. </p>
  
  <p>Is it possible to check whether the environment being built on is 32 or 64bit?</p>
  
  <pre><code>&lt;Exec Command="&amp;quot;C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe&amp;quot; &amp;quot;$(BuildDirectoryPath)\FooProduct/foo.vdproj&amp;quot; /Build &amp;quot;Release&amp;quot;"/&gt;
  </code></pre>
  
  <p>When running the build on a 32bit machine, it must point to C:\Program Files\... but on a 64bit machine, it must point to C:\Program Files (x86)\...</p>
  
  <p>Thanks</p>