feiyingx
feiyingx

Reputation: 329

How to invoke 'Sitecore Rocks' code generation?

After installing Sitecore Rocks extension, I created a 'Sitecore > Code Generation > Template Classes' file to the project. I added my templates from Sitecore to the .scx file and tried running the file by selecting 'Run Custom Tool', but it doesn't seem to do anything. Is there something specific I need to do in order to run the code generation file and have it generate the classes for my Sitecore templates?

Thanks!

Upvotes: 4

Views: 1588

Answers (1)

Harsh Baid
Harsh Baid

Reputation: 7249

Here is my finding on this,

Once you have setup Sitecore and Sitecore Rocks you can check the generated code file under the created file name as CodeGeneratedFile.Designer.cs (assuming the new file is named as 'CodeGeneratedFile')

The file should be type of 'Strongly Typed Items'

Sitecore Rocks Code generation

Based on this question I have written here in detail - Code Generation using Sitecore Rocks

Upvotes: 2

Related Questions