title: C# Unit Tests and MSTest 14.0 command-line options for Platform/Arch
body: <p>According to <a href="https://msdn.microsoft.com/en-us/library/ms182489.aspx" rel="nofollow">MSTest.exe cli Documentation</a> and running:</p>
  
  <pre><code>&amp; 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe' /help 
  </code></pre>
  
  <p>there appears no way to specify architecture as you can do from Visual Studio's </p>
  
  <blockquote>
    <p>Test ==> Test Settings ==> Default Processor Architecture</p>
  </blockquote>
  
  <p>meue. There is a /platform paramater, but it is used for publishing test results.</p>
  
  <p>How do I specify x64 as the Platform/Architecture when running MSTest.exe on a set of C# Unit Tests? Something like:</p>
  
  <pre><code>&amp; 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe' /testcontainer:bin\Release\UnitTestCSharp.dll /platform:x64
  </code></pre>
  
  <p>The <code>/runconfig</code> option seems like it might be an option but I am not finding documentation on how to use it to specify the platform. </p>
  
  <p>I should mention that I need x64 because I have a native 64 bit dll used by the C# unit tests.</p>