Umbraco 7.4.1 CS0234: The type or namespace name 'Start' does not exist in the namespace 'Umbraco.Web.PublishedContentModels'
Hi
I have installed Umbraco 7.4.1 via a Nuget in VS2015. Everything was fine after installation the site was working ok and I could see all pages I created.
The problems occurred after restarting VS. After that I get the following error everytime I try to view a page in my site:
CS0234: The type or namespace name 'Start' does not exist in the namespace 'Umbraco.Web.PublishedContentModels'
Start can be replaced with the Document type of the page I´m trying to view.
At one point I got the same error when building the solution in VS but at the moment that error is gone.
I have tried to set Umbraco.ModelsBuilder.ModelsMode in web.config to Dll or LiveDll an generating the models via the Modelsbuilder but with no success. Something I read in a blogpost.
So is there anyone out there who has any suggestions to what I could do to resolve this problem?
I had the same error message, CS0234. I was able to solve the problem thanks to your help Ole Kristian Losvik, (I also had to follow the the instructions from the Error message on the Model builder tab page in http://localhost/umbraco#/developer before I could se my website again)
Umbraco 7.4.1 CS0234: The type or namespace name 'Start' does not exist in the namespace 'Umbraco.Web.PublishedContentModels'
Hi
I have installed Umbraco 7.4.1 via a Nuget in VS2015. Everything was fine after installation the site was working ok and I could see all pages I created.
The problems occurred after restarting VS. After that I get the following error everytime I try to view a page in my site:
CS0234: The type or namespace name 'Start' does not exist in the namespace 'Umbraco.Web.PublishedContentModels'
Start can be replaced with the Document type of the page I´m trying to view.
At one point I got the same error when building the solution in VS but at the moment that error is gone.
I have tried to set Umbraco.ModelsBuilder.ModelsMode in web.config to Dll or LiveDll an generating the models via the Modelsbuilder but with no success. Something I read in a blogpost.
So is there anyone out there who has any suggestions to what I could do to resolve this problem?
Best regards Göran
I am not sure if we had the same problem, however I solved mine by opening the backend: http://localhost/umbraco#/developer
And then tapping the Model builder tab page. After clicking "Generate models" my site was working nicely again.
Hi!
I had the same error message, CS0234. I was able to solve the problem thanks to your help Ole Kristian Losvik, (I also had to follow the the instructions from the Error message on the Model builder tab page in http://localhost/umbraco#/developer before I could se my website again)
So, thank you Ole Kristian Losvik!
is working on a reply...