Copied to clipboard

Flag this post as spam?

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


  • bh 408 posts 1395 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 1593 posts 7151 karma points MVP 6x 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 408 posts 1395 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.

Please Sign in or register to post replies

Write your reply to:

Draft