![]() ![]() The switch is available starting with MSBuild 15.3 (Visual Studio 2017 Update 3 or newer). See MSBuild command-line help msbuild /? for more information on the /bl switch. See here for the list of viewer features Command-line help for the /bl switch The viewer can read all formats and can save to *.xml. *.xml (for large human-readable XML logs).*.binlog (official MSBuild binary log format, produced by msbuild.exe /bl.Leverage the source code of projects and targets embedded in the log file: The MSBuild Structured Log Viewer can build projects and solutions or open existing log files: Read more about the new MSBuild binary log format (*.binlog) Viewer Features Preprocessed view (with all imports inlined) is available for each file (like /pp). Embedded source files - optionally embed the source text of all project files and imported targets files used during the build, so it is possible to correlate log events with the source code. ![]() NET API is available to load and query binary logs. Programmatic access - All information is easily accessible programmatically for tools such as analyzers (whereas you need to parse text logs yourself and it's hard without a clearly defined structure) A.The viewer allows to collapse unneeded sections, as well as intelligent search. Easier to read/analyze - text logs (especially from multi-processor builds) can become unwieldy, intertwined and hard to read.This can result in significant storage savings on CI servers. Smaller disk size - a binary log is much smaller in size than a corresponding diagnostic-level text log (10-20x or more).They can be reconstructed later anyway if needed. Faster builds - less overhead than a text log, can make builds significantly faster if other logs are disabled. ![]() The binary logger turns on various MSBuild switches to output more information, such as task inputs and target outputs.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |