Alexis_Montana
New Member
At work we just upgraded to Entity Framework 5. Our EDMX file now has a couple other nodes beneath it:\[code\]EntityContainer.Context.tt\[/code\]which contains the generated DbContext object and\[code\]EntityContainer.tt\[/code\]which contains the entities themselves.For a short period, adding an entity in EF was automatically regenerating the tt (T4 Templates) when we would save the EDMX file. Now all of a sudden we have to right-click the T4 templates and select "Run Custom Tool" to get them to regenerate the .cs files for the context or entities.Any ideas how this might have happened?UpdateIn the EDMX the property "Transform Related Text Templates On Save" is set to true and the problem is still happening.