MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.

MIT License

Stars
1.4K
Committers
77

Bot releases are hidden (Show)

MSBuildStructuredLog - Show task assembly if overridden

Published by KirillOsenkov 8 months ago

MSBuildStructuredLog - Support Windows arm64

Published by KirillOsenkov 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.207...v2.2.211

MSBuildStructuredLog - v2.2.207

Published by KirillOsenkov 8 months ago

MSBuildStructuredLog - Favorites and Ctrl+F

Published by KirillOsenkov 8 months ago

What's Changed

  • You can now favorite nodes! Favorites show in the Favorites tab. You can build a "map" of the relevant locations in the build tree.
  • Press Ctrl+F on a node with lots of children and filter the children by substring. Escape to clear filter or close, Enter to close the textbox.
  • Add search menu for Top Expansive by @yuehuang010 in https://github.com/KirillOsenkov/MSBuildStructuredLog/pull/754

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.176...v2.2.206

MSBuildStructuredLog - v2.2.176

Published by KirillOsenkov 9 months ago

What's Changed

  • [Proposal] Add dumprecords command by @JanKrivanek in https://github.com/KirillOsenkov/MSBuildStructuredLog/pull/745
  • project(...) clause now supported in $copy search. Example: $copy foo.dll project(myproject.csproj)
  • double-clicking on file path search results from $copy partial search now inserts the full path into the search box

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.170...v2.2.176

MSBuildStructuredLog - Fix nullref when a file wasn't embedded

Published by KirillOsenkov 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.163...v2.2.170

MSBuildStructuredLog - v2.2.163

Published by KirillOsenkov 9 months ago

MSBuildStructuredLog -

Published by KirillOsenkov 9 months ago

Better fix for the file format regression

MSBuildStructuredLog - Fix regression in reading binlog format

Published by KirillOsenkov 9 months ago

MSBuildStructuredLog - Support for forward compatible binlog format version 18

Published by KirillOsenkov 10 months ago

What's Changed

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.149...v2.2.155

MSBuildStructuredLog - Small bugfixes

Published by KirillOsenkov 10 months ago

What's Changed

Fixed search for $error in some cases

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.139...v2.2.149

MSBuildStructuredLog - $nuget search in project.assets.json

Published by KirillOsenkov 11 months ago

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.100...v2.2.139

NuGet search through project.assets.json files

You can search for NuGet packages (by name or version), dependencies (direct or transitive) and files coming from NuGet packages:

List MyProject.csproj dependencies:
$nuget project(MyProject.csproj)

Search for Package.Name in both dependencies and resolved packages:
$nuget project(MyProject.csproj) Package.Name

Search for a file coming from a NuGet package:
$nuget project(MyProject.csproj) File.dll

Search for a specific version or version range:
$nuget project(.csproj) 13.0.3

Use project(.) or project(.csproj) to search all projects (slow).

Right-click on a project to view NuGet dependencies.

File copy search

Search for $copy filename to find all files copied during the build.

Search for $copy directory\path to find all files copied in and out of this directory.

Search for $copy full\file\path to see the copy operations involving the given file.
If the file was copied from a NuGet package it will show which NuGet package and why the project depends on that package (via which chain of dependencies).
If the file was copied because it was added to None or Content item with CopyToOutputDirectory Always or PreserveNewest, this will be shown as well.

MSBuildStructuredLog - Enable `$copy path` to search for files and directories that were involved in a copy operation

Published by KirillOsenkov 11 months ago

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.94...v2.2.100

Search for $copy file.txt to search for files containing the "file.txt" substring that were involved in a copy operation.
Search for $copy directory\full\path to search for files copied in and out of this directory.
Search for $copy file\path to search for where this file was copied to and from.

MSBuildStructuredLog - Minor perf fixes

Published by KirillOsenkov 11 months ago

MSBuildStructuredLog - Search indexing, start/end > < operators

Published by KirillOsenkov 11 months ago

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.2.1...v2.2.76

  • Indexing tree nodes for faster search. Some more time spent during binlog opening, but searches will be faster.
  • search operators to filter nodes that start/end before/after a certain time (start>"datetime", start<"datetime", end>"datetime", end<"datetime")
  • Some fixes to search result presentation.
  • Added Close, Close All But This, and Close All on text document tabs context menu
  • Persist main window position
  • View source for items under $additem EmbedInBinlog
  • Miscellaneous memory and performance optimizations, faster binlog load times (other than the indexing time)
MSBuildStructuredLog - Prototype binlog redaction, perf and other fixes

Published by KirillOsenkov 12 months ago

Huge thanks to @JanKrivanek for the new binlog redaction feature (experimental!)

Works for both command line (binlogtool redact) as well as viewer File -> Redact Secrets:

image
image

What's Changed

New Contributors

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.1.858...v2.2.1

MSBuildStructuredLog - Support binlog format version 17

Published by KirillOsenkov about 1 year ago

Adds support for the latest version 17, which adds Extended error, warning and message event args (where you can attach arbitrary strings and metadata to errors, warnings and messages). This will be used by C++.

image

What's Changed

New Contributors

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.1.844...v2.1.858

MSBuildStructuredLog - v2.1.844

Published by KirillOsenkov about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/KirillOsenkov/MSBuildStructuredLog/compare/v2.1.820...v2.1.844

MSBuildStructuredLog - Minor updates

Published by KirillOsenkov over 1 year ago

MSBuildStructuredLog - Rollback to fix search

Published by KirillOsenkov over 1 year ago

Attempt to fix broken search reported in https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/673

Possible regressed with #672

Badges
Extracted from project README
Build status NuGet package Chocolatey
Related Projects