Imported a solution from VS 2008 to 2012, and got this error. Tried everything in links below, and nothing worked:
Visual Studio 2012 csc.exe Error. Executable not valid for OS
and:
Visual Studio 2012 - "Error Access is denied" message box - no other information
Anyone have any idea how to fix this? I uninstalled and reinstalled VS 2012 and all of the components, including Update 5, I ran the repair from Control Panel Programs, repaired the .NET framework, tried copying csc.exe from another W7 PC and several other fixes and nothing. Solution still works fine in VS 2008...