Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)

XDTHelper

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

Nested types and modules

TypeDescription
FakeXmlTransformationLogger
OBSOLETE

Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)

Integrates XDT logging into FAKE logging.

Functions and values

Function or valueDescription
TransformFile(...)
Signature: inXmlFile:string -> transformFile:string -> outXmlFile:string -> unit
Attributes:
[<Obsolete("Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)")>]
OBSOLETE

Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)

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

TransformFilesWithConfigName(...)
Signature: configName:string -> files:FileIncludes -> unit
Attributes:
[<Obsolete("Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)")>]
OBSOLETE

Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)

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
Attributes:
[<Obsolete("Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)")>]
OBSOLETE

Use Fake.Core.Xdt instead (open Fake.Core and use 'Xdt.<name>' instead of directly calling Xdt<name> - ie add a dot)

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