diff options
Diffstat (limited to 'src/WixToolset.Core')
| -rw-r--r-- | src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs | 5 | ||||
| -rw-r--r-- | src/WixToolset.Core/Uuid.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs b/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs index 0e5c4b5b..0cda4437 100644 --- a/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs +++ b/src/WixToolset.Core/ExtensibilityServices/BackendHelper.cs | |||
| @@ -36,6 +36,11 @@ namespace WixToolset.Core.ExtensibilityServices | |||
| 36 | }; | 36 | }; |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | public string CreateGuid(Guid namespaceGuid, string value) | ||
| 40 | { | ||
| 41 | return Uuid.NewUuid(namespaceGuid, value).ToString("B").ToUpperInvariant(); | ||
| 42 | } | ||
| 43 | |||
| 39 | private string GetValidatedFullPath(SourceLineNumber sourceLineNumbers, string path) | 44 | private string GetValidatedFullPath(SourceLineNumber sourceLineNumbers, string path) |
| 40 | { | 45 | { |
| 41 | try | 46 | try |
diff --git a/src/WixToolset.Core/Uuid.cs b/src/WixToolset.Core/Uuid.cs index 0501c285..c93d134d 100644 --- a/src/WixToolset.Core/Uuid.cs +++ b/src/WixToolset.Core/Uuid.cs | |||
| @@ -10,7 +10,7 @@ namespace WixToolset | |||
| 10 | /// <summary> | 10 | /// <summary> |
| 11 | /// Implementation of RFC 4122 - A Universally Unique Identifier (UUID) URN Namespace. | 11 | /// Implementation of RFC 4122 - A Universally Unique Identifier (UUID) URN Namespace. |
| 12 | /// </summary> | 12 | /// </summary> |
| 13 | public static class Uuid | 13 | internal static class Uuid |
| 14 | { | 14 | { |
| 15 | /// <summary> | 15 | /// <summary> |
| 16 | /// Creates a version 3 name-based UUID. | 16 | /// Creates a version 3 name-based UUID. |
