aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WixToolset.Extensibility/Data/IComponentKeyPath.cs2
-rw-r--r--src/WixToolset.Extensibility/Data/PossibleKeyPathType.cs (renamed from src/WixToolset.Extensibility/Data/ComponentKeyPathType.cs)4
-rw-r--r--src/WixToolset.Extensibility/Services/IParseHelper.cs7
-rw-r--r--src/WixToolset.Extensibility/WixToolset.Extensibility.csproj2
4 files changed, 8 insertions, 7 deletions
diff --git a/src/WixToolset.Extensibility/Data/IComponentKeyPath.cs b/src/WixToolset.Extensibility/Data/IComponentKeyPath.cs
index ba660b45..9417b836 100644
--- a/src/WixToolset.Extensibility/Data/IComponentKeyPath.cs
+++ b/src/WixToolset.Extensibility/Data/IComponentKeyPath.cs
@@ -8,6 +8,6 @@ namespace WixToolset.Extensibility.Data
8 8
9 string Id { get; set; } 9 string Id { get; set; }
10 10
11 ComponentKeyPathType Type { get; set; } 11 PossibleKeyPathType Type { get; set; }
12 } 12 }
13} 13}
diff --git a/src/WixToolset.Extensibility/Data/ComponentKeyPathType.cs b/src/WixToolset.Extensibility/Data/PossibleKeyPathType.cs
index 58bbb0cf..75ccb1d1 100644
--- a/src/WixToolset.Extensibility/Data/ComponentKeyPathType.cs
+++ b/src/WixToolset.Extensibility/Data/PossibleKeyPathType.cs
@@ -1,8 +1,8 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2 2
3namespace WixToolset.Extensibility.Data 3namespace WixToolset.Extensibility.Data
4{ 4{
5 public enum ComponentKeyPathType 5 public enum PossibleKeyPathType
6 { 6 {
7 /// <summary> 7 /// <summary>
8 /// Not a key path. 8 /// Not a key path.
diff --git a/src/WixToolset.Extensibility/Services/IParseHelper.cs b/src/WixToolset.Extensibility/Services/IParseHelper.cs
index 36caf192..a4eb3ce7 100644
--- a/src/WixToolset.Extensibility/Services/IParseHelper.cs
+++ b/src/WixToolset.Extensibility/Services/IParseHelper.cs
@@ -6,6 +6,7 @@ namespace WixToolset.Extensibility.Services
6 using System.Collections.Generic; 6 using System.Collections.Generic;
7 using System.Xml.Linq; 7 using System.Xml.Linq;
8 using WixToolset.Data; 8 using WixToolset.Data;
9 using WixToolset.Data.Tuples;
9 using WixToolset.Extensibility.Data; 10 using WixToolset.Extensibility.Data;
10 11
11 /// <summary> 12 /// <summary>
@@ -89,7 +90,7 @@ namespace WixToolset.Extensibility.Services
89 /// <param name="value">The registry entry value.</param> 90 /// <param name="value">The registry entry value.</param>
90 /// <param name="componentId">The component which will control installation/uninstallation of the registry entry.</param> 91 /// <param name="componentId">The component which will control installation/uninstallation of the registry entry.</param>
91 /// <param name="escapeLeadingHash">If true, "escape" leading '#' characters so the value is written as a REG_SZ.</param> 92 /// <param name="escapeLeadingHash">If true, "escape" leading '#' characters so the value is written as a REG_SZ.</param>
92 Identifier CreateRegistryRow(IntermediateSection section, SourceLineNumber sourceLineNumbers, int root, string key, string name, string value, string componentId, bool escapeLeadingHash); 93 Identifier CreateRegistryRow(IntermediateSection section, SourceLineNumber sourceLineNumbers, RegistryRootType root, string key, string name, string value, string componentId, bool escapeLeadingHash);
93 94
94 /// <summary> 95 /// <summary>
95 /// Creates a short file/directory name using an identifier and long file/directory name as input. 96 /// Creates a short file/directory name using an identifier and long file/directory name as input.
@@ -220,13 +221,13 @@ namespace WixToolset.Extensibility.Services
220 string GetAttributeLongFilename(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowWildcards = false, bool allowRelative = false); 221 string GetAttributeLongFilename(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowWildcards = false, bool allowRelative = false);
221 222
222 /// <summary> 223 /// <summary>
223 /// Gets a RegistryRoot as a MsiInterop.MsidbRegistryRoot value and displays an error for an illegal value. 224 /// Gets a RegistryRootType value and displays an error for an illegal value.
224 /// </summary> 225 /// </summary>
225 /// <param name="sourceLineNumbers">Source line information about the owner element.</param> 226 /// <param name="sourceLineNumbers">Source line information about the owner element.</param>
226 /// <param name="attribute">The attribute containing the value to get.</param> 227 /// <param name="attribute">The attribute containing the value to get.</param>
227 /// <param name="allowHkmu">Whether HKMU is returned as -1 (true), or treated as an error (false).</param> 228 /// <param name="allowHkmu">Whether HKMU is returned as -1 (true), or treated as an error (false).</param>
228 /// <returns>The attribute's RegisitryRootType value.</returns> 229 /// <returns>The attribute's RegisitryRootType value.</returns>
229 int GetAttributeMsidbRegistryRootValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowHkmu); 230 RegistryRootType? GetAttributeRegistryRootValue(SourceLineNumber sourceLineNumbers, XAttribute attribute, bool allowHkmu);
230 231
231 /// <summary> 232 /// <summary>
232 /// Gets a version value or possibly a binder variable and displays an error for an illegal version value. 233 /// Gets a version value or possibly a binder variable and displays an error for an illegal version value.
diff --git a/src/WixToolset.Extensibility/WixToolset.Extensibility.csproj b/src/WixToolset.Extensibility/WixToolset.Extensibility.csproj
index 31d5ca87..997c10ce 100644
--- a/src/WixToolset.Extensibility/WixToolset.Extensibility.csproj
+++ b/src/WixToolset.Extensibility/WixToolset.Extensibility.csproj
@@ -15,7 +15,7 @@
15 </ItemGroup> 15 </ItemGroup>
16 16
17 <ItemGroup> 17 <ItemGroup>
18 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63102-01" PrivateAssets="All" /> 18 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
19 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="all" /> 19 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="all" />
20 </ItemGroup> 20 </ItemGroup>
21</Project> 21</Project>