aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Preprocessor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Preprocessor.cs')
-rw-r--r--src/WixToolset.Core/Preprocessor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Preprocessor.cs b/src/WixToolset.Core/Preprocessor.cs
index ac8cefe3..aca954bd 100644
--- a/src/WixToolset.Core/Preprocessor.cs
+++ b/src/WixToolset.Core/Preprocessor.cs
@@ -649,7 +649,7 @@ namespace WixToolset.Core
649 649
650 if (null == includeFile) 650 if (null == includeFile)
651 { 651 {
652 throw new WixFileNotFoundException(sourceLineNumbers, includePath, "include"); 652 throw new WixException(ErrorMessages.FileNotFound(sourceLineNumbers, includePath, "include"));
653 } 653 }
654 654
655 using (XmlReader reader = XmlReader.Create(includeFile, DocumentXmlReaderSettings)) 655 using (XmlReader reader = XmlReader.Create(includeFile, DocumentXmlReaderSettings))