Copied to clipboard

Flag this post as spam?

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


  • Huw Reddick 1932 posts 6722 karma points MVP 3x c-trib
    Aug 05, 2022 @ 07:53
    Huw Reddick
    0

    ModelsBuilder Issue? Ambiguos reference

    I'm getting a strange Ambiguous reference isssue on some properties.

    enter image description here

    This is my Umbraco settings.

      "ModelsBuilder": {
        "ModelsMode": "SourceCodeManual",
        "ModelsDirectory": "~/../VantagePortal.ContentModels",
        "AcceptUnsafeModelsDirectory": true
      },
    

    Any ideas as to what might be causing this?

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 9x c-trib
    Aug 05, 2022 @ 08:32
    Bjarne Fyrstenborg
    0

    Hi Huw

    Do you have the model Home in multiple locations? I think you will get these errors if you first had the generated models in the default ModelsBuilder location in ~/umbraco/models but then changed mode to SourceCodeManual and generated the models in the new location.

    You'll then need to remove the original generated models from ~/umbraco/models folder.

  • Huw Reddick 1932 posts 6722 karma points MVP 3x c-trib
    Aug 05, 2022 @ 08:51
    Huw Reddick
    100

    I figured it out, my models prj was using Umbro 10.1.0 but my web project was still using the 10.1.0_rc, updating the web project fixed it, I must have missed it when I updated the other projects in the solution doh!

  • 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