Copied to clipboard

Flag this post as spam?

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


  • Ian Dawson 24 posts 104 karma points
    Oct 25, 2022 @ 09:50
    Ian Dawson
    0

    Models builder (v8) generated files

    I have an umbraco project (version 8.18.5) with models builder in PureLive mode.

    In the app_data folder, 2 of the files it generates are all.generated.cs and models.generated.cs

    They almost seem like duplicates with very slight differences, so a couple of questions.

    Why are there 2 very similar files?

    Which of the 2 should I include in my project to have access to the typed models? (Adding both causes errors due to the duplication)

    Thanks

  • Søren Kottal 713 posts 4571 karma points MVP 6x c-trib
    Oct 25, 2022 @ 11:41
    Søren Kottal
    100

    You need to use AppData or Dll mode to get access to the typed models in your IDE.

Please Sign in or register to post replies

Write your reply to:

Draft