Eric J. Smith's WeblogCodeSmith, .NET, etc...CodeSmith Tips & Tricks: Template Recursion- August 24, 2005 Here is a simple CodeSmith template that shows how templates can be recursively called, have indentation levels and render to a single output: <% CodeTemplate Language="C" TargetLanguage="C" ClassName="RecurseSampleTemplate" %><% Property Name="InRecurse" Type="System.Boolean" %> Sample header<% if (this.InRecurse) %> Nested class<% else %> Parent class<% RecurseSampleTemplate recurseSample = new RecurseSampleTemplate(); ...http://weblogs.asp.net/ericjsmith/archive/2005/08/23/423505.aspx CodeSmith 3.1 Released- August 11, 2005 I'm happy to announce the release of version 3.1 of CodeSmith, a free upgrade for all users of CodeSmith 3.0. Version 3.1 adds additional capabilities to the highly successful version 3.0 release, including: Custom designer support for ColumnSchema and ColumnSchemaCollection. A new OnError virtual method for the CodeTemplate class. A new ParseDefaultValue method for IPropertySerializer (used by the ParseDefaultValue method of CodeTemplate). The sample custom properties project now demonstrates.http://weblogs.asp.net/ericjsmith/archive/2005/08/11/422256.aspx Announcing a New Larkware Contest- August 9, 2005 It's time for a new contest, and I'm one of the judges. "As you undoubtedly know by now, the release of Microsoft Visual Studio 2005 and Microsoft SQL Server 2005 is scheduled for the week of November 7. That's just three months from now, and the current beta versions are plenty solid enough to build some useful and interesting software. And you all know that I'm a sucker for useful and interesting software. So, here's your chance to build some for me, using the next generation of Microsoft...http://weblogs.asp.net/ericjsmith/archive/2005/08/09/422039.aspx XML-based Code Generation with CodeSmith- August 8, 2005 Mike Gunderloy has just posted a new article about XML-based Code Generation with CodeSmith over at Developer.com. Mike does a great job of explaining the new XmlProperty feature in CodeSmith and how powerful it can be in using XML as metadata for your templates.http://weblogs.asp.net/ericjsmith/archive/2005/08/08/421904.aspx CodeSmith 3.0 Tips and Tricks- August 4, 2005 The presentation at the North Dallas .NET User's Group last night went awesome! The room was packed (over 265 people) and Rob Howard did an amazing job presenting CodeSmith 3.0 and getting people excited about it like I could never do. Rob is such a great speaker and it was very surreal seeing him doing a presentation on an application that I wrote. We recorded the presentation and we will hopefully have it available for everyone to see online in the.http://weblogs.asp.net/ericjsmith/archive/2005/08/04/421601.aspx |