using t4 template engine in production
Planning of using t4 template in a production environment. I have not used this before either. I want to know if anythi开发者_如何学Cng is required to be installed on the production server, are there any settings to be configured on the server, etc.
Assuming you're talking about preprocessed (runtime) templates, then you don't need anything special on the server.
If you're talking about design-time (regular) T4 templates, then it's not a supported scenario.
If you're talking about an ASP.Net MVC website scaffolded via T4, then T4 isn't present in production.
If you are compiling your program where parts of the code is generated by T4 and placing the dll's on the server there is no difference from a program where you wrote all lines.
精彩评论