Meziantou
Read post

Getting more information in MSBuild binlogs with property tracking

MSBuild binary logs can capture detailed property tracking information by setting the MSBuildLogPropertyTracking environment variable. This feature tracks property reassignments, initial values, environment variable reads, and uninitialized property reads. The tracking values are bit flags (1, 2, 4, 8) that can be combined, with 15 enabling all tracking. The tracked data appears in the MSBuild Structured Log Viewer, showing exactly when and where properties are set, including line and column information from XML definitions.

    #.net
Feb 09•3m read time•From meziantou.net
Post cover image
Table of contents
# Enabling property tracking# Viewing the tracked properties# Additional resources
7.1K Impressions
Meziantou's image
Meziantou

Meziantou's resource offers insights, tutorials, and resources for software developers and IT profes...

18 Followers

•

104 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard