We had same issue when upgrading our solution from VS2005 to VS2012. Problem was inside vcxproj files. We had new line character in command line options. After removing it, our project compiled without any problem.
changed this
<AdditionalOptions>/MP4
/Zm200</AdditionalO