Design-time T4 templates in ASP.NET 5 (VS 2015)

前端 未结 3 537
旧巷少年郎
旧巷少年郎 2021-01-06 10:35

I can\'t seem to find a way to make T4 templates in VS 2015 RTM, in an ASP.NET 5 (vNext) project.

I even installed the T4 toolbox for Visual Studio 2015 extension, b

3条回答
  •  孤独总比滥情好
    2021-01-06 11:00

    If you watch Julie Lerman's pluralsight video: http://www.pluralsight.com/courses/entity-framework-7-looking-ahead she addresses this. There are no plans as of now to remove the T4 templates in upcoming versions of Visual Studio but they didn't make it in for the release. You code always run the reverse engineer tool on your database and go with a code first approach and switch back later (though I don't know why you would in my opinion) but that would be a work around until there is more information on the T4 templates in current VS versions.

提交回复
热议问题