Skip to content

ICompileContext Interface

Context provided to the compiler.

PropertyDescription
CancellationTokenCancellation token.
CompilationIdUnique identifier for the compilation.
ExtensionsSet of extensions provided to the compiler.
IntermediateFolderIntermediate folder.
IsCurrentPlatform64BitCalculates whether the target platform for the compilation is 64-bit or not.
OutputPathOutput path.
PlatformGets or sets the platform which the compiler will use when defaulting 64-bit attributes and elements.
ServiceProviderService provider made available to the compiler and its extensions.
SourceSource document being compiled.
WixToolset.Extensibility.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Cancellation token.

public System.Threading.CancellationToken CancellationToken { get; set; }

Unique identifier for the compilation.

public string CompilationId { get; set; }

Set of extensions provided to the compiler.

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Extensibility.ICompilerExtension> Extensions { get; set; }

Intermediate folder.

public string IntermediateFolder { get; set; }

Calculates whether the target platform for the compilation is 64-bit or not.

public bool IsCurrentPlatform64Bit { get; set; }

Output path.

public string OutputPath { get; set; }

Gets or sets the platform which the compiler will use when defaulting 64-bit attributes and elements.

public WixToolset.Data.Platform Platform { get; set; }

Service provider made available to the compiler and its extensions.

public System.IServiceProvider ServiceProvider { get; set; }

Source document being compiled.

public System.Xml.Linq.XDocument Source { get; set; }