Adding my template to the list of code generation elements in Studio 2010

I took the POCO tt templates that can be used in Studio 2010 with the Entity Framework and modified them to better suit my needs. I added a few things to make testing easier.

Now I want to be able to right-click on the design surface of the entity structure, select "Add Code Generation Element" and select my templates instead of the ones built into POCO so that I can use them more easily.

Where do I need this to happen? Any examples you can visit me?

+3
source share
1 answer

.

:

% %\Microsoft Visual Studio 10.0\Common7\IDE\

ItemTemplates ItemTemlatesCache ( - zip , - IDE).

, "AdoNetEntityDataModelT4". zip ( ItemTemplates) ( ItemTemplatesCache). , , .

+1

Source: https://habr.com/ru/post/1756587/


All Articles