Turn off logging for XmlFile.SetValue

Nov 1, 2008 at 11:14 PM
Edited Nov 2, 2008 at 12:01 AM
I need to turn off output from XmlFile.SetValue when I am updating an Xml file.

In the example below, the MSBuild log file will see that I am updating this Xml path, and my data value will be stored in the log file in addition to the .config file. How to prevent writing to the log file (or standard output)?

XmlFile.SetValue
Path=".\SillyConfig.config"
XPath="/Settings/Data"
Value="$(UnloggedValue) 
IgnoreNoMatchFailure="false"
Force="true" />
Developer
Nov 3, 2008 at 7:24 PM
Hi Ken

There is no setting on the task to do that. You could implement your own logger or alter the task and recompile.

Mike