title: Visual Studio 2012 command line built
body: <p>We use msbuild to build the solution on servers and were using the command prompt provided by sdk 7.1 to build for .net 4 for both 32 and 64 bit builds. <strong>SETENV</strong> provided in sdk was perfect for this.</p>
  
  <p>Now we are upgrading to .NET 4.5 and VS 2012
  Since the new Windows SDK 8 does not have a command prompt, I think we have to use the command prompt provided by Visual Studio 2012 (unless there is a better way). 
  Now the problem is, there are 3 command prompts provided for 32, 64 bit and ARM by VS 11.
  Weirdly there is also a DEVELOPER COMMAND PROMPT that is picking up SDK 7.0 for some reason.
  So my questions are..</p>
  
  <ol>
  <li><p>Which is the perfect command prompt for building for .net 4.5 using sdk 8.</p></li>
  <li><p>Do I have to use different command prompts to target different platform or is there a better way to change the targeted platform without opening the new command prompt.</p></li>
  <li><p>How can I choose the right SDK as the SDK configuration tool shows the options for sdk 8.0 and 8.0A but only VS 2005 and VS 2008 options are available there to choose, and I think I want to choose VS 2012 there.</p></li>
  <li><p>A setenv equivalent for VS 2012 command prompt to set configurations and platform.</p></li>
  <li><p>Basically how to choose the correct SDK, the correct environments and the right command prompt for targeting different platforms for .NET 4.5.</p></li>
  </ol>