Closed mitchcapper closed 1 year ago
OK resolved this issue, debugging compiler code generation is a bit of a trick. The code is specifically searching for '\r\n' if one has their git settings to standard '\n' line endings the code won't compile. Not sure of the best way to resolve this, for me changing the code to use '\n's fixed it. Files can have CRLF or just LF in the same file, and could probably break similarly. I would probably say best to detect if it contains '\r' and if so replace all '\r\n' with '\n' and then back to '\r\n' (to avoid any bare '\n's ). If it doesn't just use \n's.
I'll close the issue since you resolved it.
Oh, I see the problem. Okay I updated the code in source generator to handle new line based on CR LF or LF line ending.
I like the great concepts and features of this app, haven't seen an open source app similar. I wanted to do some work but had issues building. After a recursive clone building either from VS or from the cli with dotnet seem to fail.
Mostly around the CopySourceGenerator/EasySharp. I tried using the solution for that itself and still issues like:
Can you provide some guidance on compiling?