dotnet-transform-xdt and FatAntelope

dotnet-transform-xdt

Global tool for .NET Core 2.1 and later NuGet package

.NET Core 2.1 introduces the concept of global tools, meaning that you can install dotnet-xdt using the .NET CLI and use it everywhere. One advantage of this approach is that you can use the same command, for both installation and usage, across all platforms.

⚠️ To use global tools, .Net Core SDK 2.1.300 or later is required.

Install dotnet-xdt as a global tool (only once):

dotnet tool install --global dotnet-xdt --version 2.2.1

And then you can apply XDT transforms, from the command-line, anywhere on your PC, e.g.:

dotnet xdt --source original.xml --transform delta.xml --output final.xml

Global tools are not ideal when an application needs to build completely self-contained, without relying on tools installed in the surrounding environment. They are also only available on the latest .NET Core.

Read on if this is a concern for your application.

 

FatAntelope

A tool for comparing .NET .config files and generating a config transform (Microsoft Xml Document Transform). 

FatAntelope parses the two config (xml) files into two trees and performs an unordered diff / comparison to identify nodes that have been updated, inserted or deleted, and then generates a XDT transform from these differences.

The XML diff / comparison algorithm is a C# port of the 'XDiff' algorithm described here: http://pages.cs.wisc.edu/~yuanwang/xdiff.html

Try It

A demonstration is setup here: fatantelopetester.apphb.com

 

 

 

 

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(40)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2017-12-01 firewall 允许app访问网络
2017-12-01 点击了一个link button,查看后台调用
2015-12-01 git difff
点击右上角即可分享
微信分享提示