I've just started a new project in Umbraco 8 and I can't seem to generate the models so they're not pulling through on visual studio.
I can't see an option to generate models when I save a new doc type and I don't have a "generate models" button appearing on the "models builder" tab.
Assuming that you are in the default purelive mode, you will want to ensure that you are seeing hidden files in your VS project tree. They should be under App_Data/Models by default.
Models Builder in Umbraco 8
I've just started a new project in Umbraco 8 and I can't seem to generate the models so they're not pulling through on visual studio. I can't see an option to generate models when I save a new doc type and I don't have a "generate models" button appearing on the "models builder" tab.
Any Ideas how I do this? :)
Hi Rhiannon, What mode do you have in your web.config file for ModelsBuilder?
The mode is indicated by the Umbraco.ModelsBuilder.ModelsMode key in the appSettings section of the Web.config file.
Depending on the setting within there, you won't see the models as they will be compiled in to a dll.
This page explains the different options availble to you: https://our.umbraco.com/documentation/Reference/Templating/Modelsbuilder/Builder-Modes
Assuming that you are in the default purelive mode, you will want to ensure that you are seeing hidden files in your VS project tree. They should be under App_Data/Models by default.
is working on a reply...