Is there any way to tell Visual Studio 2010 to enable syntax highlighting for .tt files? I do have a directive to set the extension:
<#@ output extension=".ascx" #>
So I'd like Visual Studio to treat the file as an ascx file for the purpose of Syntax Highlighting.
Try the Tangible T4 Editor extension. There's a free version you can grab to try it out, but if you use them often, it's worth getting the pro license.