Copied to clipboard

Flag this post as spam?

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


  • Moran 285 posts 934 karma points
    Nov 30, 2022 @ 16:03
    Moran
    0

    Content models not recognise

    Hi I am using Umbraco 10 and I installed the starter kit to see some code examples. When I open the solution on my IDE - Rider, I see that all the models are painted red and I don't have autocomplete support for the model properties.

    @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<ContentModels.TestModel>
    

    Even after creating a new document type with a new model, I still can't see that my models are recognized.

  • Moran 285 posts 934 karma points
    Dec 04, 2022 @ 11:24
    Moran
    101

    After changing the models builder configuration in the appsettings.Development.json From InMemoryAuto To SourceCodeAuto I see the models generated in the ~/umbraco/models path.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies