Copied to clipboard

Flag this post as spam?

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


  • Simon Czerwinski 14 posts 107 karma points
    Apr 30, 2021 @ 10:13
    Simon Czerwinski
    0

    Problem upgrading from 7.6.14 to 7.7.0 with UCodeFirst. Could not load type 'umbraco.BusinessLogic.UserType'

    Hi,

    I have a problem upgrading Umbraco CMS from 7.6.14 to 7.7.0.

    The issue says "Could not load type 'umbraco.BusinessLogic.UserType' from assembly 'businesslogic".

    Was checking if there was a solution to this thread: https://issues.umbraco.org/issue/U4-10103

    But no success there. I have tryed everything soon.. Deleting App_Data, Cache and all the files that usually gets problem like this.

    I'm using UCodeFirst for modelling the API since version 7.5.3.

    Does someone have the same problem with the businesslogic? How can the dll still be focusing on something that is gone, regarding https://issues.umbraco.org/issue/U4-10103 ?

    Best regards, Simon

  • Marc Goodson 2141 posts 14344 karma points MVP 8x c-trib
    Apr 30, 2021 @ 19:48
    Marc Goodson
    0

    Hi Simon

    Do you need an upgraded version of uCodeFirst that will work with 7.7.0?

    I'm guessing it has reference to the UserType, to enable people to build Umbraco sites using 'code first' approach, and this was removed in 7.7.0 and above, and as you've found listed as a breaking change.

    so I figure there might be an upgraded version of uCodeFirst that is aware of this?

    https://www.nuget.org/packages/BlueLeet.UCodeFirst.Core/

    regards

    Marc

  • Simon Czerwinski 14 posts 107 karma points
    May 02, 2021 @ 15:02
    Simon Czerwinski
    0

    Hi Marc,

    Thank you for the respons!

    Yes exacly! You are right, I might need to upgrade the uCodeFirst package! I thought that the package didn't connect to Umbracos DLL files so deep, but it does do that unfortunately.

    The library I have in my project don't have any documentation at all either.. So it was hard to identify the owner of the package. But I think I'll give BlueLeets package a try that you linked and see if I can figure it out!

    I might need to change the code a bit for my modeling.

    Thank you again for the respons, I will tell you if I get it working!

    Best regards, Simon

Please Sign in or register to post replies

Write your reply to:

Draft