Copied to clipboard

Flag this post as spam?

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


  • bh 291 posts 976 karma points
    Oct 07, 2019 @ 18:19
    bh
    0

    More than one type wants to be a model for content type _____

    I believe the error is b/c I switched to API ModelsBuilder mode, and that the new models it built are colliding with the models previously built by PureLive mode. But, I don't know where those PureLive models are for me to remove them from my project.

    Can someone point me in the right direction here?

  • Nik 1413 posts 6212 karma points MVP 3x c-trib
    Oct 07, 2019 @ 19:58
    Nik
    100

    Hi BH,

    Check in App_Data for any file called models.cs (or something similar). Also check in Bin for Umbraco.Web.PublishedContent.dll.

    Basically pure live will create a temporary repo of models that is causing your conflict.

    Thanks

    Nik

  • bh 291 posts 976 karma points
    Oct 07, 2019 @ 20:17
    bh
    1

    I excluded Umbarco.Web.PublishedContent.dll, but that didn't do it. Deleting it like you said did the trick. Many thanks @Nik.

  • 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