Monday, June 06, 2011 #

Visual Studio 2010 compilation message error “The exec task needs a command to execute”

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.

posted @ Monday, June 06, 2011 5:20 PM | Feedback (0)