Copied to clipboard

Flag this post as spam?

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


  • teus 42 posts 74 karma points
    Nov 01, 2022 @ 09:44
    teus
    0

    Umbraco 10 Models builder does not "see" partial classes ?

    In umbraco 7and 8 when generating classes in Visual Studio, the Models Builder noticed that a property of a class was already used in another custom partial file and the Models Builder would then ignore that property.

    In Umbraco 10 when running the Models Builder from the browser this does not seem to happen ? This is maybe to be expected as the Models Builder is not run in Visual Studio or is there a setting we are missing?

    Or is it not reccomended to "overule" the properties generated by the Models Builder ?

    enter image description here

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Nov 01, 2022 @ 10:43
    Nik
    1

    Hi Teus,

    I suspect in Umbraco v7 and Umbraco v8 you were using the community version of the Umbraco Models builder. The Core version has never supported overriding property implementation as far as I'm aware.

    Unfortunately the community version (https://github.com/modelsbuilder/ModelsBuilder.Original) is not currently available for Umbraco v9+

    Thanks

    Nik

Please Sign in or register to post replies

Write your reply to:

Draft