1

TDS allows to Re-Generate Code for all Items by clicking appropriate TDS project in VS Explorer. This process also is executed during item creating/changing (any synchronization stuff).

enter image description here

Question - does the TDS allow to Re-Generate Code only for one target Item?

TDS Version is used - 5.7.0.14

1 Answer 1

2

Code generation is the process by which a data model and one or more templates are passed through a template engine. The model is transformed and the resulting output of this process would be code that can be compiled and used within your application.

When an item changes, either by sync or by Rocks, TDS Classic will call the transformation template to re-generate the appropriate items. At the end of each item generation event, TDS Classic runs a template that generates the “header” and then combines all the generated code files into a single code file.

You can perform the same action by right-clicking on the TDS project and selecting the "Re-generate code for all items". Since all this process generates a single file and process throw all the templates so it will generate the code for all the items not for a single file.

So answer for your question is NO, TDS does not allow Re-Generate Code only for one target Item

1
  • Thanks for reach explanation there. If answer NO, probably this will be a good feature for newest TDS versions. I will wait for some hours. If no additional answer - I will mark your's as an Answer. Commented Jul 29, 2019 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.