diff options
author | Rob Mensching <rob@firegiant.com> | 2022-08-07 11:51:01 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-08-07 12:40:54 -0700 |
commit | 11f6b34b97809da414d6368155e70125b582565f (patch) | |
tree | 4380e8af7365425d9f40046621d9af556ac5f9b5 /src/wix/WixToolset.Core/CompileContext.cs | |
parent | 5c601223834cb8571d31232c7524ed3b6ed786e2 (diff) | |
download | wix-11f6b34b97809da414d6368155e70125b582565f.tar.gz wix-11f6b34b97809da414d6368155e70125b582565f.tar.bz2 wix-11f6b34b97809da414d6368155e70125b582565f.zip |
Add intermediate folder and output path to all contexts
Extensions sometimes need to generate files and lay them out
relative to the final output path. Provide that context to all
extensions so they can use the correct intermediate folder and
output path.
Diffstat (limited to 'src/wix/WixToolset.Core/CompileContext.cs')
-rw-r--r-- | src/wix/WixToolset.Core/CompileContext.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wix/WixToolset.Core/CompileContext.cs b/src/wix/WixToolset.Core/CompileContext.cs index d84d7aac..f0c99a51 100644 --- a/src/wix/WixToolset.Core/CompileContext.cs +++ b/src/wix/WixToolset.Core/CompileContext.cs | |||
@@ -23,6 +23,10 @@ namespace WixToolset.Core | |||
23 | 23 | ||
24 | public IReadOnlyCollection<ICompilerExtension> Extensions { get; set; } | 24 | public IReadOnlyCollection<ICompilerExtension> Extensions { get; set; } |
25 | 25 | ||
26 | public string IntermediateFolder { get; set; } | ||
27 | |||
28 | public string OutputPath { get; set; } | ||
29 | |||
26 | public Platform Platform { get; set; } | 30 | public Platform Platform { get; set; } |
27 | 31 | ||
28 | public bool IsCurrentPlatform64Bit => this.Platform == Platform.ARM64 || this.Platform == Platform.X64; | 32 | public bool IsCurrentPlatform64Bit => this.Platform == Platform.ARM64 || this.Platform == Platform.X64; |