From 94b941ee95a294228516097c269e27dfa41593ab Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 13 Jan 2020 09:10:13 -0800 Subject: Provide Record enumerator on View that disposes fetched Records --- src/WixToolset.Core/CommandLine/BuildCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WixToolset.Core/CommandLine') diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs index 5ee60984..023a3c1e 100644 --- a/src/WixToolset.Core/CommandLine/BuildCommand.cs +++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs @@ -591,7 +591,7 @@ namespace WixToolset.Core.CommandLine this.OutputType = Path.GetExtension(this.OutputFile); } - switch (this.OutputType.ToLowerInvariant()) + switch (this.OutputType?.ToLowerInvariant()) { case "bundle": case ".exe": -- cgit v1.2.3-55-g6feb