views:

572

answers:

5

Are there any free/open source alternatives to Codesmith that would be comparable in features and generate .NET code?

+2  A: 

i did the same research a few years ago and found MyGeneration to be very good.

Paul Sasik
MyGeneration is an excellent code generation and templating tool. Given that its open source as well is a defenite plus. The underly MyMeta API is useful from within your own applications as well and is very powerful.
Jafin
+2  A: 

Depending on your needs, Visual Studio's T4 (Text Template Transformation Toolkit) might be worth a look. Check out Scott Hanselman's article for an introduction.

M4N
+1  A: 

Hello,

There is a deal where you can get CodeSmith for free (limited time), Check out plinqo.com for more information. Although there are many free and paid alternatives. I think it would be a very wise move for anyone to check out the support options and community behind other Code Generators.

If you go to say a product like My Generation and run into a bug, there is no one to help you but yourself.

Thanks

-Blake Niemyjski

Blake Niemyjski
A: 

Codesmith 2.6 is freeware - http://www.codesmithtools.com/freeware.aspx

There is nothing you can't do with version 2.6 - the later versions simply fix a few minor bugs and add a few bells and whistles.

Bermo
A: 

hi, in june i will release a new generator MyWay, take a look at http://www.screentoaster.com/watch/stUEtdQ01MRFtYQ1taWlJbU1dT/code_generation_with_myway

if you want source its at google code...