Site Archives Visual Studio
T4 Architecture
This article provides an in-depth look at the architecture of T4 template transformation process, discusses some constraints that limit template design, describes techniques that can be used to work around these limitations and points out some (sometimes undocumented) mechanisms for making your T4 templates more powerful.
Understanding T4: <#@ property #> directive
This article describes the purpose and implementation mechanics of the T4 <#@ property #> directive.
How to generate multiple outputs from single T4 template
For some code generation tasks, like generating SELECT stored procedures based on indexes of a given database table, number of output artifacts may not be known upfront. Because T4 was designed to generate a single output file from one template file, developers are forced to generate multiple code artifacts in the same source file. This conflicts with the widely used practice of using one source file per code artifact. This article demonstrates how to work around this limitation of T4, generate multiple files from a single template and automatically add them to a Visual Studio project.
Code Generation with Visual Studio Templates
This article provides an overview of Visual Studio Templates, demonstrates how to create a project item template for a T4 file and includes a ready-to-use T4 item template.
Visual Studio Templates for T4
Musings about Visual Studio Templates. Includes links to articles about Visual Studio Templates and ready-to-use templates for T4 files.
Understanding T4: <#@ assembly #> directive
This post describes the purpose and implementation mechanics of the T4 <#@ assembly #> directive.
T4: Text Template Transformation Toolkit
This article provides an overview of Text Template Transformation Toolkit (T4) and includes links to additional articles about T4 and ready-to-use templates.
TFS Power Tools
I have been using TFS Power Tools for a while and thought it would be a good idea to mention it now that a new version was released.
Visual Studio 2005 Team Foundation Server Power Tools is a set of enhancements, tools and command-line utilities that improve the Team Foundation Server user experience.
Team Foundation […]
DebugExe command-line switch in Visual Studio
Visual Studio (devenv.exe) has a useful command line switch - DebugExe. It allows you to load and start debugging any executable using its file name. It is most useful when debugging startup problems in windows services, when you cannot simply attach debugger to an already running service process. You can find information on how to […]
Debugging WCF services using non-admin account on Windows XP SP2
If you are using a non-admin account on your computer to develop WCF services, you may have run into a problem trying to debug HTTP services locally. Using HTTP endpoints requires the user account to have a special permission to “reserve” a namespace (i.e. a URL). If account doesn’t have the permission, WCF service will […]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


