Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

XDTHelper

Contains functions used to transform config (or any XML) files using Microsoft's XML Document Transformations.

Nested types and modules

TypeDescription
FakeXmlTransformationLogger

Integrates XDT logging into FAKE logging.

Functions and values

Function or valueDescription
TransformFile(...)
Signature: inXmlFile:string -> transformFile:string -> outXmlFile:string -> unit

Reads XML file (typically a config file), makes changes according to XDT transform syntax, saves result.

TransformFilesWithConfigName(...)
Signature: configName:string -> files:FileIncludes -> unit

Modifies XML files in place using an XDT file named by inserting a .configName in between each filename and .extension.

TransformFileWithConfigName(...)
Signature: configName:string -> xmlFile:string -> unit

Modifies an XML file in place using an XDT file named by inserting a .configName in between the filename and .extension.