ReportGenerator icon indicating copy to clipboard operation
ReportGenerator copied to clipboard

Exception when Console is printing a file path with braces

Open willianm opened this issue 10 years ago • 0 comments

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.

willianm avatar Feb 12 '16 03:02 willianm