WiXAliases.

WiXCandle(ICakeContext, IEnumerable<FilePath>, CandleSettings) Method

Summary

Compiles all .wxs sources in the provided source files.
Namespace
Cake.Common.Tools.WiX
Containing Type
WiXAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("Candle")]
public static void WiXCandle(this ICakeContext context, IEnumerable<FilePath> sourceFiles, CandleSettings settings = null)

Examples

var files = GetFiles("./src/*.wxs");
CandleSettings settings = new CandleSettings {
    Architecture = Architecture.X64,
    Verbose = true
    };
WiXCandle(files, settings);

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Parameters

Name Type Description
context ICakeContext The context.
sourceFiles IEnumerable<FilePath> The source files.
settings CandleSettings The settings.

Return Value

Type Description
void