Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Rhiannon 1 post 71 karma points
    May 22, 2019 @ 16:27

    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? :)

  • Owain Williams 408 posts 1213 karma points MVP 3x c-trib
    May 30, 2019 @ 10:29
    Owain Williams

    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:

  • Bryna 66 posts 228 karma points
    May 30, 2019 @ 21:58

    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.

Please Sign in or register to post replies

Write your reply to: