Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 445 posts 1059 karma points
    Jan 05, 2022 @ 00:14
    Ayo Adesina
    0

    Umbraco 9 Upgrade - The type or namespace name 'Web' does not exist in the namespace 'Umbraco'

    Hi guys, I am trying to port over an umbraco 8 site to use V9.

    I followed the instructions in the documentation to port over the content and that worked fine with no errors.

    So I currently have an umbraco 9 installation with all my umbraco 8 content inside. - I copied all the views in to the umbraco 9 project and then tried to run the project. this is what I get.

    enter image description here

    Becuase I am now using ASP.net Core I know I am going to have to change a few things.

    So then I changed all the:

    @inherits Umbraco.Web.Mvc.UmbracoViewPage
    

    to

    @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
    

    that got me passed the error above and now I have this: enter image description here

    What do I do next..?. hmmm

Please Sign in or register to post replies

Write your reply to:

Draft