I have migrated an existing site to umbraco cloud and by doing so I upgraded my existing site from 9.0.1 to 10.1.1 first.
The existing site runs fine with umbraco 10.1.1 locally, but if I open my new cloud project locally(same umbraco version) and try to run it, some of my code is not working anymore and it requires me to make changes.
The code compiles and I made small changes, but I get the following error:
So, my question is, why do I get this error, if the code works on my existing site with the upgraded umbraco version. But if I am on the local cloud project with the same code, I get this error?
Upgrading umbraco version and move to cloud
Hello everyone 😊
I have migrated an existing site to umbraco cloud and by doing so I upgraded my existing site from 9.0.1 to 10.1.1 first.
The existing site runs fine with umbraco 10.1.1 locally, but if I open my new cloud project locally(same umbraco version) and try to run it, some of my code is not working anymore and it requires me to make changes.
The migration guide I followed: https://our.umbraco.com/documentation/Umbraco-Cloud/Getting-started/migrate-existing-site/
E.g.: Existing site got this:
But the cloud project complains about this:
And it recommends me to do the following changes:
The code compiles and I made small changes, but I get the following error:
So, my question is, why do I get this error, if the code works on my existing site with the upgraded umbraco version. But if I am on the local cloud project with the same code, I get this error?
The solution for this: Instead of using @inherits UmbracoViewPage, I had to change it to @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage
is working on a reply...