ReportGenerator
ReportGenerator copied to clipboard
Exception when Console is printing a file path with braces
Hi Daniel,
First. Thanks for developing ReportGenerator. It is a really great tool!
Now about the issue: I'm experiencing an exception and I already know the root cause. In my code coverage file I have a file with braces in the path (e.g. MyClass{T}.cs). However, I don't have the source code of this file. For this reason, the Logger will print that MyClass{T}.cs was not found. As result, Console.Writeline will raise an illegal character exception, because it will parse "{T}".
I think you can escape braces '{' '}' when printing FilePaths. But you know better your project.
Anyway, you should be really proud of ReportGenerator.
Thanks, Willian.