Reducing MSBuild task verbosity

2 views
Skip to first unread message

Simon Hohenadl

unread,
Mar 16, 2013, 7:53:09 PM3/16/13
to fshar...@googlegroups.com
I want to reduce the verbosity of an MSBuild task in order to only see warnings, if there are any at all.
I cannot quite figure out the what to do from the FAKE source code.

I tried
MSBuild buildDir "Build" [("Configuration","Release"); ("Verbosity", "Quiet")]
but that didn't help.

Thanks for any help,
Simon

Anton Tayanovskyy

unread,
Apr 3, 2013, 9:41:27 PM4/3/13
to fshar...@googlegroups.com
I had some success using MSBuild API in-process in FAKE scripts instead of calling MSBuild in a new process. When available, this option is a little faster and certainly gives you more control (verbosity or even custom loggers). Might be worth it to revise FAKE helpers to take advantage of this API when available, and make it a bit more flexible.

Thanks, 

--A
Reply all
Reply to author
Forward
0 new messages