Scott Hanselman

MSBuild Structured Log: record and visualize your builds

June 4, '16 Comments [7] Posted in MSBuild | Open Source
Sponsored By

MSBuild has been open source for a while (over a year now!) and is used to build .NET and .NET Core projects. In fact, MSBuild is used to build the .NET Core Runtime itself.

MSBuild Structured Log

Recently Kirill Osenkov published a new tool called MSBuild Structured Log that makes it easy to visualize your builds and the build process. Install and run MSBuild Structured Log from here.

It is an MSBuild logger that can be passed to MSBuild during a build and it records information about everything that happens in the build. But instead of just dumping everything into a huge text file it preserves the structure and relationships between elements, and lets you save and open the structured log in .xml format. This has significant advantages to help you understand and navigate large build logs.

It's easy to install and auto-updates itself. You can open a log file directory or it will build your project and show you the results in a friendly and searchable tree format:

MSBuild Log visualized as a tree view

Here's a more complex multi-project example. You can see what ran, what didn't, dependencies, and the logs themselves.

A complex MSBuild example visualized

Tools

There is a great list of MSBuild-related resources and tips and tricks including these tools:


Sponsor: Many thanks to Stackify for sponsoring the feed this week! Stackify knows developers are the center of the universe. That’s why Stackify built Prefix and will give it out free forever. No .NET profiler is easier, prettier, or more powerful. Build better—now!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Saturday, 04 June 2016 22:38:58 UTC
Soooooo nice to see XML back in season. :) :) :)
Sunday, 05 June 2016 19:34:23 UTC
thanks my friends
Thursday, 09 June 2016 10:24:49 UTC
That's great!!!!
Satyabrata
Monday, 13 June 2016 06:33:44 UTC
good post
Monday, 13 June 2016 17:56:14 UTC
Scott - completely off topic here. Do you keep changing/deleting your RSS feeds? My sage reader says you have none.

I look forward to your posts, but I'm having issues aggregating them with the rest of my reading list.
Mike
Tuesday, 14 June 2016 03:30:13 UTC
Amazing info and i really like your work! thanks a lot or sharing! Free Android APK file download safe link apkdom best safe APK downloader free download mirror xapk obb server CoC private link. Love fun ideas lovematchfun join now. The Best Prank Apps, jokes and shocking Games for Android. prankyapps electric screen joke, Love Match test Prank, transparent screen android app, etc. Free Android app APK download softlot app games APK downloader. Gift Ideas giftspilot gifts for her and kids.
So, yes, ads are coming to Wholesale Jerseys 2016 uniforms. Maybe not next year, but soon, and for the rest of our viewing lives. At least we can take heart in the fact that we won't be watching, say, the Citibank Giants play the Coca-Cola Falcons. Yet.
One key, of course, is matching the right sponsor with the right team. The NFL will have its say in advertiser selection Kansas City Chiefs Jersey , to avoid some Texas offramp strip club sponsoring the Cowboys or some Bay-area pawn shop hooking up with the Raiders. You'll be looking at multi-year agreements; this won't be like NASCAR, where advertisers can switch from week to week and certain unfortunate cars might run without ads at all Pittsburgh Steelers Jersey . Dozens of companies are willing to spend millions for 30 seconds of Super Bowl ad time; you think there won't be a line out the door to buy three hours' worth?
dsfd
Wednesday, 15 June 2016 14:46:52 UTC
I tried this tool out and it is great, I would love to have it as a VS extension instead of a standalone application.
David Parvin
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.