神刀安全网

MSBuild Structured Log: record and visualize your builds

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: record and visualize your builds

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 Structured Log: record and visualize your builds

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

MSBuild Structured Log: record and visualize your builds

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 !

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » MSBuild Structured Log: record and visualize your builds

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址