Copied to clipboard

Flag this post as spam?

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


  • Adrian Wu 53 posts 266 karma points
    Feb 05, 2019 @ 03:22
    Adrian Wu
    0

    The type 'Home' exists in both......

    hi , guys,

    does it mean i need to rename my doc type from 'home' to something else?

    enter image description here

    Thanks,

    A

  • Alexander Croner 71 posts 282 karma points
    Feb 05, 2019 @ 07:31
    Alexander Croner
    1

    Have you tried playing with the Modelsbuilder or something? Try cleaning the solution (or emptying the bin-folder).

  • Adrian Wu 53 posts 266 karma points
    Feb 05, 2019 @ 09:48
    Adrian Wu
    0

    yes the "Generate models" button in Modelsbuilder tab

  • Alex Skrypnyk 6120 posts 23747 karma points MVP 7x admin c-trib
    Feb 05, 2019 @ 09:08
    Alex Skrypnyk
    100

    Hi Adrian

    Set models builder to Dll mode, read more here - https://our.umbraco.com/Documentation/reference/templating/Modelsbuilder/Builder-Modes#dll-models

    Alex

  • Adrian Wu 53 posts 266 karma points
    Feb 05, 2019 @ 09:53
    Adrian Wu
    0

    Originally for localhost development, I changed the 'PureLive' to 'Dll' for intellisense.

    Then when I decided to deploy it to Azure, I set it back to 'PureLive' in my localhost. Then I have that issue.

    Now I set it back to 'Dll' and it is working now thx,

    what did I miss when I switch between 'PureLive' and 'Dll' ?

    Should I delete the Umbraco.Web.PublishedContentModels.dll when using the 'PureLive' ?

    I want both modes to work in different situations.

    Thanks,

    A

  • Alex Skrypnyk 6120 posts 23747 karma points MVP 7x admin c-trib
    Feb 05, 2019 @ 11:25
    Alex Skrypnyk
    1

    Should I delete the Umbraco.Web.PublishedContentModels.dll when using the 'PureLive' ?

    • Yes

    Locally it's better to use Dll mode, on the live - PureLive or Dll, doesn't really matter. The only difference, with Dll mode on the live you need to deploy Umbraco.Web.PublishedContentModels.dll or generate it, with PureLive - there is no such dll.

    Thanks,

    Alex from umakers.dk

Please Sign in or register to post replies

Write your reply to:

Draft