Attempting to run the T4 templates for Immutable Object Graph gives errors of
╔═══════╦═══╦═════════════════════════════════════════════════════════════════════
Yes, this was something to do with line ending for me too, possible due to source control.
To resolve, I copied and pasted the template code into Notepad++ and saved as a normal txt file then copy and pasted back.
(notepad didn't work as the line endings were wrong)