The "Exec" task needs a command to execute, the poor thing
Here's a strange error message.
I was trying to build a project in VS2005, and got this instead of a successful build:
The "Exec" task needs a command to execute.
After pooling out a few hairs, I remembers that I recently have edited the pre-build actions for this project.
Looking this up, I found that I left a spare newline at the end of the pre-build script. So VS2005 sent msbuild an order to run an empty command.
Now I wonder, had the VS2005 guys have ever heard of StringSplitOptions.RemoveEmptyEntries?
They could've easily ignore empty lines, or better yet, issue a warning for that kinda stuff.
Thankyou It saved me a lot of time
Thanks for the info - I ran into the same problem as everyone else.
Thanks, as well. This still lives in VS2010 SP1!
Thanks...saved me some time
Thanks so much man........it really saved me a lot of time....:)
Thanks a lot ! I got this error, searched in google, stumbled on to this page, FIXED !
Yeah-you!!! Boooo MS!!! Got this in VS 2010...still not fixed!!!
thank you! it helped me out!!
good catch...still applies! thanks, esd