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 660 posts 2153 karma points
    1 week ago
    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 1259 posts 3808 karma points MVP 6x c-trib
    1 week ago
    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 660 posts 2153 karma points
    1 week ago
    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!

Please Sign in or register to post replies

Write your reply to:

Draft