dotnet-xdt
2.2.1
Requires NuGet 4.0 or higher.
dotnet tool install --global dotnet-xdt --version 2.2.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-xdt --version 2.2.1
#tool dotnet:?package=dotnet-xdt&version=2.2.1
nuke :add-package dotnet-xdt --version 2.2.1
dotnet-xdt
dotnet-xdt
is a cross-platform .NET Core 2.1 or later global tool for applying XML Document Transformation (typically, to .NET configuration files, but not limited to this scenario).
It is a based on the Microsoft http://xdt.codeplex.com/ code, ported to .NET Standard and .NET Core. The .NET Standard 2.0 library DotNet.Xdt and project-level tool dotnet-transform-xdt are based on the same code.
Installation
The command below must run once, to install on any .NET Core supported platform:
dotnet tool install --global dotnet-xdt
Now 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
More information and usage instructions
Details on installation and usage available at the GitHub repository *
* Markdown content on NuGet is limited to 8000 bytes, preventing the full instructions from being posted here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
2.2.1 | 631,799 | 12/9/2020 |
2.2.0 | 153,317 | 1/7/2020 |
2.1.1 | 18,810 | 5/16/2019 |
2.1.0 | 80,402 | 6/10/2018 |
2.1.0-rc.1 | 1,114 | 6/2/2018 |
Enable [RollForward=Major](https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#major-version-roll-forward) to allow running `dotnet-xdt` on .NET Core 3.x and later versions.
Minor deterministic build and SourceLink support improvements.