All of us know how to configure auto code generation in Sitecore TDS Project? It’s very simple – you just need to select Enable Code Generation as shown in below figure.
But what if you want to exclude few items from this auto code generation? If you have such requirement then this post may help you. Suppose you have configured Enable Code Generation for your Sitecore TDS project, so it will auto generate code for all of items under that project. Now if you want that some of items under that project should not be part of this auto code generation, then you can achieve it by configuring Code Generation Template property of all those items as highlighted below.
Configuring Code Generation Template as None will exclude that item from auto code generation and setting it back to blank will consider that item for auto code generation.