diff options
Diffstat (limited to 'src/ext/NetFx/wixext')
| -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); |
