Custom user T4 template files location
While developing an application using Entity Framework 4 I've faced a necessity to modify the SSDLToSQL10.tt T4 template.
All sources a开发者_开发技巧re pointing to %localappdata%\microsoft\[VSAppId]\10.0\extensions\microsoft\entity framework tools\dbgen folder as a proper location for customized user templates. However this path does not exist at my box: extensions folder is missing in %localappdata%\microsoft\VisualStudio\10.0
Am I missing something here?
Setup is Win7, Visual Studio 2010 Ultimate RTM, no VS Extensions.
Figured out, the location for user templates in my case (besides the VS folder in Program Files and Project directory) was created by installing the Database Generation Power Pack and cloning one of standard templates with it.
精彩评论