[Profoundly Esoteric Image]

GarethJ's WebLog - OneNote API musings

Browse by Tags

Tagged Content List
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part IV – Regular template inheritance

    I promised in the last post that I’d show how to do template extensibility and customization using inheritance with regular templates, rather than the preprocessed kind, so here goes. The preprocessed solution was a three-layer design. The base preprocessed template, DataClass.tt provided the code generation...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part III – Customizing The Template

    Last time, in Part II , I described a highly structured approach to creating and harnessing a preprocessed template to generate a simple C# class from metadata. I put lots of nice extensibility points in that template and now we’re going to exploit them to show how easy it gets to be to customize a template...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part II – The Core Template

      Last time , I outlined my scenario – we have a template that produces a very vanilla C# class from metadata and we’d like to customize it to produce something more directly applicable to our current project.  Of course, we could always just copy the standard template into our project and...
  • Blog Post: VS2010 SP1: T4 Template Inheritance Part I – Sample Metadata

    We’ve done a bunch of work on T4 in Visual Studio 2010 SP1 to enable template inheritance.  A reasonable question at this point would be “Why would you want inheritance in your text templates?” Well, the typical reason would be the same as with any other code – because you want reuse and extensibility...
  • Blog Post: VS2010 SP1: T4 no longer locks assemblies in memory

    I’m pleased to say that we made a few nice improvements to our T4 text templating engine in Visual Studio 2010 SP1 (you can find the beta here ). Chief among them is resolving an assembly locking issue that more than a few customers have told us has caused them pain. The most typical cases for folks...
Page 1 of 1 (5 items)