ASP.Net Entity Framework.tt Files not attached under .edmx

I am running an ASP.NET website project (v4.5) under the VS 2012 update. 2. When I create a new entity model (.edmx) in the App_Code folder attached to the .edmx file, it is only .Designer.cs and files. edmx.diagram. Associated .tt files are not attached. I think that’s why, when I save the model, T4 templates are not automatically converted, even if this option is specified in the model properties.

Any ideas how to make this work? I cannot use the DependentUpon XML tag in the project file, since website projects do not have project files.

+5
source share
2 answers

- , - . -.

, , T4 ( TT) T4.

0

.tt . T4.

0

All Articles