The type or namespace name 'Startsida' does not exist in the namespace 'Umbraco.Web.PublishedModels'
I dont get it. Why do I get this error when I have everything set up perfectly? When I delete this line it works fine. But then @Model.Value("PageTitle") wont work.
The type or namespace name 'Startsida' does not exist in the namespace 'Umbraco.Web.PublishedModels'
I dont get it. Why do I get this error when I have everything set up perfectly? When I delete this line it works fine. But then @Model.Value("PageTitle") wont work.
Here is my code:
@using ContentModels = Umbraco.Web.PublishedModels; @{ Layout = "master.cshtml"; }
Do you have models builder turned on? Do you have a model / doctype called starsida? Have you tried building the solution?
is working on a reply...