Copied to clipboard

Flag this post as spam?

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


  • Göran Lundin 2 posts 71 karma points
    Mar 16, 2016 @ 14:26
    Göran Lundin
    0

    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

  • Ole Kristian Losvik 22 posts 73 karma points
    Mar 23, 2016 @ 18:57
    Ole Kristian Losvik
    0

    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.

  • Mikael Brunnberg 1 post 71 karma points
    Apr 19, 2016 @ 11:56
    Mikael Brunnberg
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft