From 87580cbe111a8df836231a0192dee674cf482f08 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Thu, 24 Oct 2019 16:59:15 -0400 Subject: Don't crash on empty (but valid) source paths. --- src/WixToolset.Core/Librarian.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WixToolset.Core/Librarian.cs b/src/WixToolset.Core/Librarian.cs index 81d3a0ed..3c1810ac 100644 --- a/src/WixToolset.Core/Librarian.cs +++ b/src/WixToolset.Core/Librarian.cs @@ -95,7 +95,7 @@ namespace WixToolset.Core { var pathField = field.AsPath(); - if (pathField != null) + if (pathField != null && !String.IsNullOrEmpty(pathField.Path)) { var resolution = variableResolver.ResolveVariables(tuple.SourceLineNumbers, pathField.Path, false); -- cgit v1.2.3-55-g6feb