diff options
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/wix/WixToolset.Data/WixStandardLibrary.cs | 14 | ||||
-rw-r--r-- | src/api/wix/WixToolset.Data/WixStandardLibraryIdentifiers.cs | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/WixStandardLibrary.cs b/src/api/wix/WixToolset.Data/WixStandardLibrary.cs index c5c9d8d4..3758e5b1 100644 --- a/src/api/wix/WixToolset.Data/WixStandardLibrary.cs +++ b/src/api/wix/WixToolset.Data/WixStandardLibrary.cs | |||
@@ -83,6 +83,20 @@ namespace WixToolset.Data | |||
83 | yield return section; | 83 | yield return section; |
84 | } | 84 | } |
85 | 85 | ||
86 | // Default feature. | ||
87 | { | ||
88 | var symbol = new FeatureSymbol(sourceLineNumber, new Identifier(AccessModifier.Virtual, WixStandardLibraryIdentifiers.DefaultFeatureName)) | ||
89 | { | ||
90 | Level = 1, | ||
91 | Display = 0, | ||
92 | InstallDefault = FeatureInstallDefault.Local, | ||
93 | }; | ||
94 | |||
95 | var section = CreateSectionAroundSymbol(symbol); | ||
96 | |||
97 | yield return section; | ||
98 | } | ||
99 | |||
86 | // Package References. | 100 | // Package References. |
87 | { | 101 | { |
88 | var section = CreateSection(WixStandardLibraryIdentifiers.WixStandardPackageReferences); | 102 | var section = CreateSection(WixStandardLibraryIdentifiers.WixStandardPackageReferences); |
diff --git a/src/api/wix/WixToolset.Data/WixStandardLibraryIdentifiers.cs b/src/api/wix/WixToolset.Data/WixStandardLibraryIdentifiers.cs index 8c4ac08e..6579a42b 100644 --- a/src/api/wix/WixToolset.Data/WixStandardLibraryIdentifiers.cs +++ b/src/api/wix/WixToolset.Data/WixStandardLibraryIdentifiers.cs | |||
@@ -16,5 +16,10 @@ namespace WixToolset.Data | |||
16 | /// WiX Standard references for modules. | 16 | /// WiX Standard references for modules. |
17 | /// </summary> | 17 | /// </summary> |
18 | public static readonly string WixStandardModuleReferences = "WixStandardModuleReferences"; | 18 | public static readonly string WixStandardModuleReferences = "WixStandardModuleReferences"; |
19 | |||
20 | /// <summary> | ||
21 | /// Default feature name. | ||
22 | /// </summary> | ||
23 | public static readonly string DefaultFeatureName = "WixDefaultFeature"; | ||
19 | } | 24 | } |
20 | } | 25 | } |