title: Visual Studio 2012 csc.exe Error. Executable not valid for OS
body: <p>I am getting the following error when trying to compile and test any type of project in Visual Studio 2012 Professional. </p>
  
  <p>Error   1   The specified task executable "Csc.exe" could not be run. The specified executable is not a valid application for this OS platform.</p>
  
  <p>After testing multiple suggestions online nothing has fixed the problem. Anyone know what is causing this? Is there a new version of Csc.exe I need to get a hold of? I know this is the compiler just not sure what I need to do to fix the problem.</p>