thr thr - 1 year ago 97
C# Question

C# code generation tool

I'm looking for a tool that can do scripted code generation for me on the .NET platform.

Answer Source

Have a look at the T4 Text Template tool that is built-in Visual Studio.

It look like ASP.NET markup but instead of generating a webpage, it generate C# code.