WiXAliases.

WiXLight(ICakeContext, IEnumerable<FilePath>, LightSettings) Method

Summary

Links all .wixobj files in the provided object files.
Namespace
Cake.Common.Tools.WiX
Containing Type
WiXAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("Light")]
public static void WiXLight(this ICakeContext context, IEnumerable<FilePath> objectFiles, LightSettings settings = null)

Examples

var files = GetFiles("./src/*.wxs");
LightSettings settings = new LightSettings {
    RawArguments = "-O1 -pedantic -v"
    };
WiXLight(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.
objectFiles IEnumerable<FilePath> The object files.
settings LightSettings The settings.

Return Value

Type Description
void