If it happens this strange and cryptic error in Visual Studio 2010 while compiling any project:
“The exec task needs a command to execute”
the reason is this: in any pre or post build event, there is a carriage return character to remove, because Visual Studio 2010 poorly digested the carriage return characters in ‘text editor pre-post build events.
Comments are closed.