Copied to clipboard

Flag this post as spam?

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


  • Vijay 26 posts 127 karma points
    Mar 27, 2019 @ 10:38
    Vijay
    0

    How to construct Model for Published Model ?

    Hi there,

      I'm using  umbraco 8 and I have created contents and published successfully. Now,  How can I construct Model for Published Model ? Because I want to use that model in controller.
    
  • Gilles 27 posts 109 karma points
    Mar 27, 2019 @ 10:56
    Gilles
    0

    I think what you're looking for is a feature called ModelsBuilder. See Official documentation and 24Days.in article

  • Vijay 26 posts 127 karma points
    Mar 27, 2019 @ 16:51
    Vijay
    0

    enter image description here

    I have updated <add key="Umbraco.ModelsBuilder.ModelsMode" value="LiveDll" /> in web.config. After generating Models. I'm getting the above error

  • Gilles 27 posts 109 karma points
    Mar 28, 2019 @ 14:51
    Gilles
    0

    Which version of Visual Studio are you using? You need version 15.9.6 or higher. That's VS 2017. It seems from the screenshot that you have a version 14?

  • Vijay 26 posts 127 karma points
    Apr 05, 2019 @ 06:39
    Vijay
    0

    No, it's not a version 14. I'm using VS 2017 and V15.9.7

Please Sign in or register to post replies

Write your reply to:

Draft