T4 From Partially Trusted ASP.NET shared webhost
Is there any way to host T4 in a partially trusted asp.net en开发者_开发技巧vironment
If your templates themselves don't change then you should use precompiled (runtime) templates which don't need a host - you just instantiate the template clases and call their TransformText() method.
Regular (design-time) T4 is not supported on the server.
精彩评论