diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs b/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs index 173404d7..f9cf4492 100644 --- a/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs +++ b/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs | |||
| @@ -1,11 +1,10 @@ | |||
| 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 | ||
| 3 | namespace WixToolset.Core.WindowsInstaller | 3 | namespace WixToolset.Core.WindowsInstaller |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | using System.IO; | 6 | using System.IO; |
| 7 | using WixToolset.Extensibility; | 7 | using WixToolset.Extensibility; |
| 8 | using WixToolset.Extensibility.Data; | ||
| 9 | 8 | ||
| 10 | internal class WindowsInstallerBackendFactory : IBackendFactory | 9 | internal class WindowsInstallerBackendFactory : IBackendFactory |
| 11 | { | 10 | { |
| @@ -16,7 +15,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
| 16 | outputType = Path.GetExtension(outputFile); | 15 | outputType = Path.GetExtension(outputFile); |
| 17 | } | 16 | } |
| 18 | 17 | ||
| 19 | switch (outputType.ToLowerInvariant()) | 18 | switch (outputType?.ToLowerInvariant()) |
| 20 | { | 19 | { |
| 21 | case "module": | 20 | case "module": |
| 22 | case ".msm": | 21 | case ".msm": |
