Copied to clipboard

Flag this post as spam?

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

  • bh 248 posts 885 karma points
    Oct 07, 2019 @ 18:19

    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 1269 posts 5302 karma points MVP 3x c-trib
    Oct 07, 2019 @ 19:58

    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.



  • bh 248 posts 885 karma points
    Oct 07, 2019 @ 20:17

    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: