To debug T4 under Windows 7 the following registry should be set:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\AeDebug
Auto (REG_SZ) = 1
See also: T4 Tutorial: Debugging Code Generation Files
Showing posts with label T4. Show all posts
Showing posts with label T4. Show all posts
Thursday, February 25, 2010
Tuesday, November 10, 2009
VS2008 to VS2010 migration. Entity Framework
EF project migrated from VS2008 to VS2010 does not have ability to use "Add Code Generation Item" : list of Installed Templates is empty.
EF project created in VS2010 has the only item in the list of "Installed Templates": ADO.NET EntityObject Generator. It is places in "Code" sublist, not in "Code Generation" as I would expect.
Template SSDLToSQL10.tt that is used for EF model generation is located in
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\DBGen\ folder
EF project created in VS2010 has the only item in the list of "Installed Templates": ADO.NET EntityObject Generator. It is places in "Code" sublist, not in "Code Generation" as I would expect.
Template SSDLToSQL10.tt that is used for EF model generation is located in
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\DBGen\ folder
Wednesday, October 7, 2009
Subscribe to:
Posts (Atom)