Html logging from the command line

Is it possible to have msbuild.exe generate the same html buildlog page (HelloWorldXNA.xnaproj 2006-04-25T19-53-25.html) from the command line that visual studio does from the IDE when building an XNA solution


Answer this question

Html logging from the command line

  • Wilson Jiang

    Sorry for the delay in getting to you I had to get some help on this one :-)

    It looks like you can however it's not the easiest thing to type via the command line. Here's and example of how it should work...

    msbuild MechCommander2.proj /logger:Microsoft.Xna.Build.Logger.XnaLogger,c:\WINDOWS\assembly\GAC_MSIL\Microsoft.Xna.Build.Logger\1.0.0.0__f48fa5f25d27e8ff\Microsoft.Xna.Build.Logger.dll;XnaLoggerConfig.xml

    Note you'll need a copy of the XNALoggerConfig.xml file which gets saved to the drive anytime it's not there and you build through XNA Build. If this doesn't work for you please let me know.



  • Html logging from the command line