t4-templates

Is there a way to use T4 templates with a web site project?

Can T4 templates be used in a web site project? Or more specifically, can Subsonic be used in a web site project? I can run the .tt files in a web application project but it does not nothing on a web site project. I guess they need a solution/project environment in order to run? ...

I'm having an issue with compliling database objects in SubSonic 3.0 due to project and connection string location issues.

Hello there, i'm having a issue with the T4 templates for generating code. I'm wondering if anyone can help me with an issue I have. I want to store the connection string for use with SubSonic 3.0 in a default location such as the root of the website (Web.Config or a seperate .config file). This is fine providing the t4 Templates are "...

Entity Frameworks 4 - Changing the model does not update the T4 self tracking template files

I am using self tracking entities and have moved the entity classes to another assembly by using 'Add as link' to point to the TT file as mentioned here. Now though, when I update the model (for instance change a property name) the template is not automatically run and so the entity class does not get updated. I can of course manually ...

Can someone rid me of these turbulent T4 template editors?

I'm using Tangible's editor and (no offense guys) it sucks. Its one painful step above notepad. But its (afaik) the only game in town. Does anybody have any tips/tricks on creating T4 templates in a non-painful way? For instance, I'm thinking about creating a T4 Template that essentially turns a class defined in a solution into a t...

Default editor for tt template and syntax colouring

I installed the tangible t4 editor extension in vs2010 that gives some basic syntax colouring for t4 templates (.tt). When I add a t4 template via the wizard it opens with syntax colouring. After closing the file and double-clicking it opens again with syntax colouring. After closing the file and using the 'open with' menu and choos...