title: Compiling C++/CX on the command line
body: <p>I get the linker error <code>fatal error C1107: could not find assembly 'platform.winmd': please specify the assembly search path using /AI or by setting the LIBPATH environment variable</code> when I try to compile a C++/CX program on the command line.</p>
  
  <p>The error is the same after I followed the instructions on this page: <a href="https://msdn.microsoft.com/en-us/library/dn769142.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/dn769142.aspx</a> (to summarize: run <code>cl /ZW /EHsc source.cpp</code> from the <em>Developer Command Prompt for VS2015</em>)</p>
  
  <p>I also tried running <code>vcvarsall.bat x86 store</code> from the <em>Developer Command Prompt for VS2015</em> but I still get the same error (the same error also happens when running <code>vcvarsall.bat x86 store</code> from a plain command prompt).</p>