Merge-XmlFile takes two input, source and target. The source can contains only the different element node to be merge to the target. When there is conflict in the xml node, for example <add key="" value="" /> you can specify Select keyword, to ensure that it will merge to correct target element.
$ dotnet add package MergeXmlNo README available.