Copied to clipboard

Flag this post as spam?

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


  • J 447 posts 864 karma points
    Feb 24, 2022 @ 13:09
    J
    0

    Models not being created

    I have an Umbraco Cloud project and have it downloaded using the uaas command tool for an existing project using the URL provided within the Umbraco Cloud website under the project type. This created the 2 project (Core and Web).

    I install Umbraco Models Builder with VS through the Extensions menu.

    I log onto the local version of the website and go to the ModelBuilders menu and see

    Models Builder
    Version: 8.5.5
    
    ModelsBuilder is enabled, with the following configuration:
    The models factory is enabled.
    AppData models are enabled.
    Models namespace is ProjectName.Core.ContentModels.
    Tracking of out-of-date models is enabled.
    

    The following keys are found in the web.config file

        <add key="Umbraco.ModelsBuilder.Enable" value="true" />
        <add key="Umbraco.ModelsBuilder.ModelsMode" value="AppData" />
        <add key="Umbraco.ModelsBuilder.ModelsNamespace" value="ProjectName.Core.ContentModels" />
        <add key="Umbraco.ModelsBuilder.ModelsDirectory" value="~/../ProjectName.Core/UmbracoGenerated" />
        <add key="Umbraco.ModelsBuilder.AcceptUnsafeModelsDirectory" value="true" />
    

    When i click the Generate Models it does nothing? No models are created within the Core project?

    I do see the UmbracoGenerated folder with all generated models but none for the custom cshtml forms that were created?

Please Sign in or register to post replies

Write your reply to:

Draft