From 2067f5acbfd7593f10ac2607f96df4457002b4c3 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 10 Aug 2022 12:57:14 -0700 Subject: Preprocessor only fails if current document does not parse Previously, preprocessor would not return successfully processed files if an error was encountered with this file or any previous file. No the preprocessor will only fail if the current processed file generates any errors. --- src/api/wix/WixToolset.Extensibility/Services/IMessaging.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/api') diff --git a/src/api/wix/WixToolset.Extensibility/Services/IMessaging.cs b/src/api/wix/WixToolset.Extensibility/Services/IMessaging.cs index fe77f2a4..15e17e63 100644 --- a/src/api/wix/WixToolset.Extensibility/Services/IMessaging.cs +++ b/src/api/wix/WixToolset.Extensibility/Services/IMessaging.cs @@ -15,6 +15,12 @@ namespace WixToolset.Extensibility.Services /// A bool indicating whether an error has been found. bool EncounteredError { get; } + /// + /// Gets the number of errors encountered thus far. + /// + /// The number of errors encountered. + int ErrorCount { get; } + /// /// Gets the last error code encountered during messaging. /// -- cgit v1.2.3-55-g6feb