From c8c73ccddedcb64f9989e3d5a9f15240b476b551 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 27 Jul 2018 00:35:52 -0700 Subject: Remove WixFileNotFoundException, report checked paths and improve bind path command-line parsing --- src/WixToolset.Core/Bind/ResolveFieldsCommand.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/WixToolset.Core/Bind/ResolveFieldsCommand.cs') diff --git a/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs b/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs index 0d5c3142..b7ed8a18 100644 --- a/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs +++ b/src/WixToolset.Core/Bind/ResolveFieldsCommand.cs @@ -152,10 +152,9 @@ namespace WixToolset.Core.Bind } #endif } - catch (WixFileNotFoundException) + catch (WixException e) { - // display the error with source line information - this.Messaging.Write(ErrorMessages.FileNotFound(row.SourceLineNumbers, objectField.Path)); + this.Messaging.Write(e.Error); } } -- cgit v1.2.3-55-g6feb