Made NLog .cs also the source for the .cs.pp
Fixed build errors, added automated build-time transform of T4 templates