How do I redirect MSBuild's output to file?
I need to log the output of MSBuild action to a plain text file. If a compilation fail, I will send the file by email.
If I did it in command line, I would write something like:
MSBuild project.sln >> my.log
But how do I do it using MSBuild action?
Thank you in advance!
P.S. I use 7.7 version
Last edited by tikskit; 02-24-2012 at 01:41 AM.
|