diff options
author | Bob Arnson <bob@firegiant.com> | 2023-04-03 22:16:27 -0400 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2023-04-04 12:29:33 -0400 |
commit | 238a1601a3cdf11cb9becaf8a53f281bdbbcbf09 (patch) | |
tree | d00fa3a47c4d862e763240e2770df87974c25445 /src/ext/NetFx/wixext/NetFxCompiler.cs | |
parent | 9023fd4d6dd4339003defcfb12002432357193b9 (diff) | |
download | wix-238a1601a3cdf11cb9becaf8a53f281bdbbcbf09.tar.gz wix-238a1601a3cdf11cb9becaf8a53f281bdbbcbf09.tar.bz2 wix-238a1601a3cdf11cb9becaf8a53f281bdbbcbf09.zip |
Hide visible NetCoreCheck.exe window.
Fixes https://github.com/wixtoolset/issues/issues/7353.
Also adds unit test and removes dead code.
Diffstat (limited to 'src/ext/NetFx/wixext/NetFxCompiler.cs')
-rw-r--r-- | src/ext/NetFx/wixext/NetFxCompiler.cs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ext/NetFx/wixext/NetFxCompiler.cs b/src/ext/NetFx/wixext/NetFxCompiler.cs index c40bc77b..bfadbe07 100644 --- a/src/ext/NetFx/wixext/NetFxCompiler.cs +++ b/src/ext/NetFx/wixext/NetFxCompiler.cs | |||
@@ -697,9 +697,6 @@ namespace WixToolset.Netfx | |||
697 | case "Platform": | 697 | case "Platform": |
698 | platform = this.ParsePlatform(element, sourceLineNumbers, attrib); | 698 | platform = this.ParsePlatform(element, sourceLineNumbers, attrib); |
699 | break; | 699 | break; |
700 | case "FeatureBand": | ||
701 | platform = this.ParseFeatureBand(element, sourceLineNumbers, attrib); | ||
702 | break; | ||
703 | case "Version": | 700 | case "Version": |
704 | version = this.ParseHelper.GetAttributeVersionValue(sourceLineNumbers, attrib); | 701 | version = this.ParseHelper.GetAttributeVersionValue(sourceLineNumbers, attrib); |
705 | break; | 702 | break; |
@@ -812,20 +809,6 @@ namespace WixToolset.Netfx | |||
812 | return platform; | 809 | return platform; |
813 | } | 810 | } |
814 | 811 | ||
815 | private string ParseFeatureBand(XElement element, SourceLineNumber sourceLineNumbers, XAttribute attrib) | ||
816 | { | ||
817 | string featureBand = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); | ||
818 | |||
819 | if (!Int32.TryParse(featureBand, out var intFeatureBand) || (100 > intFeatureBand) || (intFeatureBand > 999)) | ||
820 | { | ||
821 | this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, element.Name.LocalName, | ||
822 | attrib.Name.LocalName, featureBand, "An integer in the range [100 - 999]")); | ||
823 | |||
824 | } | ||
825 | |||
826 | return featureBand; | ||
827 | } | ||
828 | |||
829 | private string ParseRuntimeType(XElement element, SourceLineNumber sourceLineNumbers, XAttribute attrib) | 812 | private string ParseRuntimeType(XElement element, SourceLineNumber sourceLineNumbers, XAttribute attrib) |
830 | { | 813 | { |
831 | var runtimeType = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); | 814 | var runtimeType = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); |