diff options
Diffstat (limited to 'src/WixToolset.Core.Burn')
| -rw-r--r-- | src/WixToolset.Core.Burn/WixToolsetCoreServiceProviderExtensions.cs | 17 | ||||
| -rw-r--r-- | src/WixToolset.Core.Burn/WixToolsetStandardBackend.cs | 12 |
2 files changed, 17 insertions, 12 deletions
diff --git a/src/WixToolset.Core.Burn/WixToolsetCoreServiceProviderExtensions.cs b/src/WixToolset.Core.Burn/WixToolsetCoreServiceProviderExtensions.cs new file mode 100644 index 00000000..5c3fd449 --- /dev/null +++ b/src/WixToolset.Core.Burn/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.Burn | ||
| 4 | { | ||
| 5 | using WixToolset.Extensibility.Services; | ||
| 6 | |||
| 7 | public static class WixToolsetCoreServiceProviderExtensions | ||
| 8 | { | ||
| 9 | public static IWixToolsetCoreServiceProvider AddBundleBackend(this IWixToolsetCoreServiceProvider coreProvider) | ||
| 10 | { | ||
| 11 | var extensionManager = coreProvider.GetService<IExtensionManager>(); | ||
| 12 | extensionManager.Add(typeof(BurnExtensionFactory).Assembly); | ||
| 13 | |||
| 14 | return coreProvider; | ||
| 15 | } | ||
| 16 | } | ||
| 17 | } | ||
diff --git a/src/WixToolset.Core.Burn/WixToolsetStandardBackend.cs b/src/WixToolset.Core.Burn/WixToolsetStandardBackend.cs deleted file mode 100644 index 5f589d71..00000000 --- a/src/WixToolset.Core.Burn/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.Burn | ||
| 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 | } | ||
