From 6ff680e386b1543ad1a58d1b1d465ce8aa20bc7d Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 24 Jan 2020 15:27:20 -0800 Subject: Start on new patch infrastructure --- .../WindowsInstallerBackendFactory.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs') 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 @@ -// 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. +// 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. namespace WixToolset.Core.WindowsInstaller { using System; using System.IO; using WixToolset.Extensibility; - using WixToolset.Extensibility.Data; internal class WindowsInstallerBackendFactory : IBackendFactory { @@ -16,7 +15,7 @@ namespace WixToolset.Core.WindowsInstaller outputType = Path.GetExtension(outputFile); } - switch (outputType.ToLowerInvariant()) + switch (outputType?.ToLowerInvariant()) { case "module": case ".msm": -- cgit v1.2.3-55-g6feb