diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
3 files changed, 18 insertions, 13 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/ValidatorExtension.cs b/src/WixToolset.Core.WindowsInstaller/ValidatorExtension.cs index 97208ddb..5ce04147 100644 --- a/src/WixToolset.Core.WindowsInstaller/ValidatorExtension.cs +++ b/src/WixToolset.Core.WindowsInstaller/ValidatorExtension.cs | |||
| @@ -63,7 +63,7 @@ namespace WixToolset.Extensibility | |||
| 63 | { | 63 | { |
| 64 | if (this.databaseFile != null) | 64 | if (this.databaseFile != null) |
| 65 | { | 65 | { |
| 66 | this.sourceLineNumbers = new SourceLineNumber(databaseFile); | 66 | this.sourceLineNumbers = new SourceLineNumber(this.databaseFile); |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
| 69 | 69 | ||
diff --git a/src/WixToolset.Core.WindowsInstaller/WixToolsetCoreServiceProviderExtensions.cs b/src/WixToolset.Core.WindowsInstaller/WixToolsetCoreServiceProviderExtensions.cs new file mode 100644 index 00000000..f3671332 --- /dev/null +++ b/src/WixToolset.Core.WindowsInstaller/WixToolsetCoreServiceProviderExtensions.cs | |||
| @@ -0,0 +1,17 @@ | |||
| 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 | |||
| 3 | namespace WixToolset.Core.WindowsInstaller | ||
| 4 | { | ||
| 5 | using WixToolset.Extensibility.Services; | ||
| 6 | |||
| 7 | public static class WixToolsetCoreServiceProviderExtensions | ||
| 8 | { | ||
| 9 | public static IWixToolsetCoreServiceProvider AddWindowsInstallerBackend(this IWixToolsetCoreServiceProvider coreProvider) | ||
| 10 | { | ||
| 11 | var extensionManager = coreProvider.GetService<IExtensionManager>(); | ||
| 12 | extensionManager.Add(typeof(WindowsInstallerExtensionFactory).Assembly); | ||
| 13 | |||
| 14 | return coreProvider; | ||
| 15 | } | ||
| 16 | } | ||
| 17 | } | ||
diff --git a/src/WixToolset.Core.WindowsInstaller/WixToolsetStandardBackend.cs b/src/WixToolset.Core.WindowsInstaller/WixToolsetStandardBackend.cs deleted file mode 100644 index 3751cb54..00000000 --- a/src/WixToolset.Core.WindowsInstaller/WixToolsetStandardBackend.cs +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 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 | |||
| 3 | namespace WixToolset.Core.WindowsInstaller | ||
| 4 | { | ||
| 5 | /// <summary> | ||
| 6 | /// Denotes this assembly contains a backend that is considered | ||
| 7 | /// a standard part of the WiX Toolset. | ||
| 8 | /// </summary> | ||
| 9 | public static class WixToolsetStandardBackend | ||
| 10 | { | ||
| 11 | } | ||
| 12 | } | ||
