Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude templates from Sitecore TDS Code Generation

Is there a clean way to exclude Sitecore templates from the TDS code generation? We have to add all Sitecore templates to TDS because we exchange them with other developer.

like image 333
Florian Sc Avatar asked Feb 09 '23 07:02

Florian Sc


1 Answers

You can set the Property to not generate classes for an item (and sub-items).

TDS Do Not Generate

An alternative way of achieving this is a split out your solution into 2 separate projects, one for the templates that need code generation and one for those without. You can then use the Multi-project Properties to bundle all the items together into a single update package.

like image 86
jammykam Avatar answered Feb 28 '23 08:02

jammykam