title: Running mstest from command line against Visual Studio 2012 native C++ tests
body: <p>I have a Visual Studio 2012 Solution with a number of native c++ test projects.
  I can run all of these correctly and successfully from within Visual Studio 2012 using the Test Explorer tab.</p>
  
  <p>However, I cannot get the tests to run when running from the command line.</p>
  
  <p>Following the documentation I have been running the following command line</p>
  
  <pre><code>mstest /testcontainer:PathToTestProject\Win32\Release\testproject.dll
  </code></pre>
  
  <p>I also need to run</p>
  
  <pre><code>mstest /testcontainer:PathToTestProject\x64\Release\testproject.dll
  </code></pre>
  
  <p>for the testing of the 64bit version of the code.</p>
  
  <p>When I run these command lines I get the following error message.</p>
  
  <blockquote>
    <p>Microsoft (R) Test Execution Command Line Tool Version 11.0.50727.1
    Copyright (c) Microsoft Corporation. All rights reserved.</p>
    
    <p>Loading PathToTestProject\Win32\Release\testproject.dll...
    PathToTestProject\Win32\Release\testproject.dll
    Unable to load the test container PathToTestProject\Win32\Release\testproject.dll' or one of its dependencies. If you build your test project assembly as a 64 bit assembly, it cannot be loaded. When you build your test project assembly, select "Any CPU" for the platform. To run your tests in 64 bit mode on a 64 bit processor, you must change your test settings in the Hosts tab to run your tests in a 32 bit process. Error details: Could not load file or assembly 'file:///c:\PathToTestProject\Win32\Release\testproject.dll' or one of its dependencies. The module was expected to contain an assembly manifest.</p>
  </blockquote>
  
  <p>The code is native c++ and has two build configurations one on Win32 platform, and the other on x64 platform. I cannot have an AnyCPU platform configuration. 
  What am I missing here to be able to run the tests from the command line?</p>