diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-12 22:27:09 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-12 22:38:12 -0700 |
commit | fc92b28f87599ac25d35399dc2df2f356a285960 (patch) | |
tree | 0a775850ec5b4ff580b949700b51f5eee3182325 /src/WixToolset.Core/Preprocessor.cs | |
parent | 1a2d7994764060dc6f8936fab1c03e255f2671c5 (diff) | |
download | wix-fc92b28f87599ac25d35399dc2df2f356a285960.tar.gz wix-fc92b28f87599ac25d35399dc2df2f356a285960.tar.bz2 wix-fc92b28f87599ac25d35399dc2df2f356a285960.zip |
Refactor command line parsing to enable extensions there in light.exe
Fixes wixtoolset/issues#5845
Diffstat (limited to 'src/WixToolset.Core/Preprocessor.cs')
-rw-r--r-- | src/WixToolset.Core/Preprocessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Preprocessor.cs b/src/WixToolset.Core/Preprocessor.cs index 6733f493..23d3f205 100644 --- a/src/WixToolset.Core/Preprocessor.cs +++ b/src/WixToolset.Core/Preprocessor.cs | |||
@@ -644,7 +644,7 @@ namespace WixToolset.Core | |||
644 | 644 | ||
645 | if (null == includeFile) | 645 | if (null == includeFile) |
646 | { | 646 | { |
647 | throw new WixException(ErrorMessages.FileNotFound(sourceLineNumbers, includePath, "include")); | 647 | throw new WixFileNotFoundException(sourceLineNumbers, includePath, "include"); |
648 | } | 648 | } |
649 | 649 | ||
650 | using (XmlReader reader = XmlReader.Create(includeFile, DocumentXmlReaderSettings)) | 650 | using (XmlReader reader = XmlReader.Create(includeFile, DocumentXmlReaderSettings)) |