We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [code-generation]

Question related to use of Code Generation tools such as TDS or Leprechaun to Item and Template create model classes

Filter by
Sorted by
Tagged with
1
vote
1answer
39 views

What should my Leprechaun Configuration look like in a non-Helix project?

I'm trying to configure Sitecore Leprechaun to generate Glass models for my project, but no matter what I do, I can't seem to get it to work. My project folder structure looks like: /sitecore /...
1
vote
1answer
36 views

TDS Re-Generate Code only for one target Item

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). Question - ...
0
votes
0answers
57 views

TDS Code Generation error , "The type 'IGlassBase' already contains a definition for 'Id'

I am using TDS classic Version 5.7.0.13 and Visual Studio 2017 Pro with Sitecore 9.1 initial release. When I try to generate the Code by right clicking -> Re-generate code for all items or when I try ...