diff --git a/src/Generator/Driver.cs b/src/Generator/Driver.cs index 0b1b269f08..95101d3cea 100644 --- a/src/Generator/Driver.cs +++ b/src/Generator/Driver.cs @@ -97,7 +97,9 @@ void OnFileParsed(IEnumerable files, ParserResult result) hasParsingErrors = true; break; case ParserResultKind.FileNotFound: - Diagnostics.Error("A file from '{0}' was not found", string.Join(",", files)); + Diagnostics.Error("File{0} not found: '{1}'", + (files.Count() > 1) ? "s" : "", string.Join(",", files)); + hasParsingErrors = true; break; }