lml-compile 1.0.1

dotnet tool install --global lml-compile --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local lml-compile --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=lml-compile&version=1.0.1
                    
nuke :add-package lml-compile --version 1.0.1
                    

lml-compile

A .NET global tool that compiles Logic Apps Data Mapper (.lml) files to XSLT.

Used by the xslt skill hooks for Claude Code to auto-compile LML files on save — no running Logic Apps host required.

Install

dotnet tool install -g lml-compile

Usage

lml-compile <input.lml> <output.xslt>

Example:

lml-compile Artifacts/MapDefinitions/OrderToShipment.lml Artifacts/Maps/OrderToShipment.xslt

How it works

The Logic Apps Data Mapper compiles .lml (YAML mapping definitions) to XSLT 3.0 using the DataMapTestExecutor from Microsoft.Azure.Workflows.WebJobs.Tests.Extension. This tool wraps that API as a standalone CLI so it can be called from hooks and scripts without a running host.

The compiled .xslt output can be debugged immediately with the XSLT Debugger VS Code extension (press F5).

Exit codes

Code Meaning
0 Success
1 Error (message written to stderr)

Build from source

cd tools/lml-compile
dotnet pack -c Release -o ./nupkg
dotnet tool install -g lml-compile --add-source ./nupkg

To update after changes:

dotnet pack -c Release -o ./nupkg
dotnet tool update -g lml-compile --add-source ./nupkg
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.1 41 3/26/2026
1.0.0 27 3/26/2026