msbuild构建步骤_MSBuild结构化日志:记录并可视化您的构建

msbuild构建步骤

msbuild构建步骤

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已经开放了一段时间(现已超过一年! ),用于构建.NET和.NET Core项目。 实际上,MSBuild用于构建.NET Core Runtime本身。

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.

最近,Kirill Osenkov发布了一个名为MSBuild结构化日志的新工具,该工具可以轻松地可视化您的构建和构建过程。 从此处安装并运行MSBuild结构化日志

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.

它是一个MSBuild记录器,可以在构建过程中传递给MSBuild,它记录有关在构建过程中发生的所有事情的信息。 但是,不仅将所有内容都转储到巨大的文本文件中,它还保留了元素之间的结构和关系,并允许您以.xml格式保存和打开结构化日志。 这具有很大的优势,可以帮助您理解和浏览大型构建日志。

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:

它本身很容易安装和自动更新。 您可以打开一个日志文件目录,否则它将构建您的项目并以友好且可搜索的树格式向您显示结果:

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:

有大量与MSBuild相关的资源以及提示和技巧,包括以下工具:

翻译自: https://www.hanselman.com/blog/msbuild-structured-log-record-and-visualize-your-builds

msbuild构建步骤

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值