So this https://github.com/Particular/GitVersion/blob/master/GitVersionTask/InvalidFileChecker.cs#L15 Should log the file and line number. - [ ] Add linenumber and filepath to ErrorException - [ ] Pass those through to MSBuil - [ ] Have GetInvalidFiles also include line number and path