Multiple loggers on the command line
I'm trying to log to both the standard FileLogger and the Kobush XML logger. Now the documentation states:
/logger:logger | Specifies the logger to use to log events from MSBuild. To specify multiple loggers, specify each logger separately. |
For some reason I cannot seem to specify multiple loggers. If I use this command line:
msbuild.exe /t:Build /property:Configuration=Debug /property:BuildShell=PSH /l:FileLogger,Microsoft.Build.
Engine;logfile=..\Log\BuildTemp.log /l:Kobush.Build.Logging.XmlLogger,loggers\Kobush.Build.dll;logfile=..\log\buildresult.xml
Then I get one log file called BuildResult.xml. It is not the XML output from the Kobush logger, but the standard output from the FileLogger.
Has someone got an example of multiple loggers specified on the command line that works correctly?

