diff options
author | Rob Mensching <rob@firegiant.com> | 2023-03-09 03:43:57 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2023-03-09 06:17:00 -0700 |
commit | 3efe3f3a8682f333741b3c52e10eea2297f43dc9 (patch) | |
tree | c4935644e337175b44ba137e99265144444857bc /src/ext/UI/wixext | |
parent | 3bc1056b69b420de75ce571c102b3b24c8cab390 (diff) | |
download | wix-3efe3f3a8682f333741b3c52e10eea2297f43dc9.tar.gz wix-3efe3f3a8682f333741b3c52e10eea2297f43dc9.tar.bz2 wix-3efe3f3a8682f333741b3c52e10eea2297f43dc9.zip |
Prevent direct references to platform neutral WixUI
Fixes 7265
Diffstat (limited to 'src/ext/UI/wixext')
-rw-r--r-- | src/ext/UI/wixext/UICompiler.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ext/UI/wixext/UICompiler.cs b/src/ext/UI/wixext/UICompiler.cs index 8b527454..5f2751c9 100644 --- a/src/ext/UI/wixext/UICompiler.cs +++ b/src/ext/UI/wixext/UICompiler.cs | |||
@@ -87,7 +87,6 @@ namespace WixToolset.UI | |||
87 | else | 87 | else |
88 | { | 88 | { |
89 | var platform = this.Context.Platform == Platform.ARM64 ? "A64" : this.Context.Platform.ToString(); | 89 | var platform = this.Context.Platform == Platform.ARM64 ? "A64" : this.Context.Platform.ToString(); |
90 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.WixUI, id); | ||
91 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.WixUI, $"{id}_{platform}"); | 90 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.WixUI, $"{id}_{platform}"); |
92 | 91 | ||
93 | if (installDirectory != null) | 92 | if (installDirectory != null) |