views:

140

answers:

2

Hello,

i use n-tier programing on c# and i want to make a template to generate code easily (this is .cs, .csproj and .sln)

my question is, how can i make it? and if exist a software, which one you recomend???

it will be very useful your opinion

A: 

A good templating and code generation engine is codesmith.

Code smith should be able to generate all the types of files you are looking for, SLN, CSProj and CS files.

You can also use the Visual Studio SDK to create project templates.

Jeff Martin
A: 

Another templating engine is known as T4. This is built in to Visual Studio.

Scott Hanselman wrote about this in a blog post.

Jeff Martin
thanks jeff, very useful, i appreciate
could vote up the answer or mark it correct =)
Jeff Martin
here you go, thanks a lot for answering