This project is read-only.

Runtime verison in files?

Jan 30, 2015 at 1:09 AM
Is there any reason the runtime version has to be included in the generated source files? I am using VS2013 but some of our developers are still on VS2012, so we get changes to just the version if there are no actual changes to the files, which we have to revert. And it makes it harder to run an update on all view files if someone missed checking in a change, as then you have to review all the runtime version changes.

Seems to me there is no real need for it, so can't we have that removed from the header?
Jan 30, 2015 at 1:13 AM
I agree it's an annoyance, but I'm not sure if it's something we can control. For the most part, RazorGenerator calls the standard Razor engine to generate code, and we get what we get. Maybe it's possible to tweak what we get back from the engine before we save it.
Jan 30, 2015 at 1:43 AM
Ok, that makes sense. I suppose it would be possible to delete that line after it has generated the file?
Jan 30, 2015 at 1:58 AM
Yes, it's probably possible.