T4MVC Add-In to auto run template(blog.waynebrantley.com)

submitted by wayne.brantleywayne.brantley(30) 1 year, 10 months ago

T4MVC is a fantastic solution to avoid 'Magic Strings' in ASP.NET MVC. Thanks to David Ebbo for this contribution which has made its way to MVCContrib. Must keep T4 template open and save it once. This has been the only negative thing about the template. I thought about writing an Add-In for VS to do this and even taked to David about doing it. Well, his latest post has inspired me to write one. I took my dot net less plug in and ripped nearly everything out of it, threw in about 5 lines of new code and it is done. Configuration There isn't any. Just install the add-in and it should work. It watches for any save, add, or remove event to the solution and runs the T4 template at that time. As long as you have the T4MVC.tt file in your project it will run.

add a comment |category: |Views: 33

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story