In an MSBuild task, you can set the overall verbosity, but what I'd really like to do is set the Verbosity of just the 'Copy' command. It prints out a line for every file it's copying in the "normal" verbosity setting, which in my case is thousands of overly-detailed lines.
I don't see any documentation for such an attribute on the Copy task, so I'm wondering if there's another way... or if people just ditch the built in copy task and use robocopy with their own flags.
You can write your own build logger. Add copy task to a specific target and filter build mesages from that specific target(s).
Here is nice example of custom logger.
You have to pass /logger parameter with your custom logger to MSBuild command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With