[Mono-list] Question on Code Generation

Joseph Hill jhill at arcfocus.com
Tue Apr 7 12:06:57 EDT 2009


CodeSmith 2.6 is almost 5 years old.  Sadly, it probably isn't that far 
off from working with Mono, but it has some p/invokes, and after this 
long, it doesn't seem like they have any incentive to do any maintenance 
on the freeware tool.  If you want to generate code from CodeSmith 
tempates on Mono, then it may be worth seeing if they have plans to 
support Mono with a newer version of their tool.

On the other hand, I would love to see the T4 community grow.  It seems 
like a lot more projects are starting to use it (particularly MS 
projects)...

--Joseph
> Hi Michael!
>
> Thanks for the information.  As a short exercise, I tried to run the
> freeware version of CodeSmith (2.6) on Mono and it didn't work.  At least I
> tried.
>
> I was also thinking that CodeSmith should generate code that Mono can use as
> well.
>
> I'm writing on Linux mostly and I'm trying to really make this work since I
> don't want to own a Windows box for this.  I'm scouring for everything that
> I can about this.  
>
> Thank you for the link on T4.  I'll be sure to read up on it.
>
>
> Michael Hutchinson wrote:
>   
>> On Mon, Apr 6, 2009 at 7:00 PM, anton123 <niniendowarrior at gmail.com>
>> wrote:
>>     
>>> I'm wondering if there's a Mono substitute/counterpart to CodeSmith (or
>>> if
>>> Mono does support CodeSmith).  I'm hoping it might since I'm anticipating
>>> a
>>> lot of code-generation heavy work.  Can anyone shed some light?
>>>       
>> I don't know whether CodeSmith runs on Mono, though it must be able to
>> generate code that will run on Mono, so if you're writing code on
>> Windows, then it might be a good choice.
>>
>> If you're in Linux/Mac, or you need more flexibility to customise and
>> ship the generator, then check out Mono's implementation of Visual
>> Studio's T4 (Text Template Transformation Toolkit) system:
>> http://tirania.org/blog/archive/2009/Mar-10.html
>>
>> -- 
>> Michael Hutchinson
>> http://mjhutchinson.com
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>     
>
>   



More information about the Mono-list mailing list