Umbraco 7: Could not load type Umbraco.Web.UmbracoApplication

后端 未结 2 880
自闭症患者
自闭症患者 2021-02-18 19:53
  1. Created an ASP.NET empty web application in Visual Studio
  2. Installed Umbraco 7.1.5 via NuGet Package Manager
  3. When asked to overwrite the web.config file,
相关标签:
2条回答
  • 2021-02-18 20:09

    I also encountered same problem few days ago..i solved that...Just change the name of MVC project from 'Umbraco' to something else and then it will work fine..

    0 讨论(0)
  • 2021-02-18 20:16

    The solution, when I encountered it after installing Umbraco 7.2.12 into an existing but empty project, was to change the assembly name and default namespace from "Umbraco" to the name of the (startup-)project eg. "Website".

    In Visual Studio 2017 (applies to many other versions of VS), you can do it like this:

    1. Select your project
    2. Select Properties
    3. Select tab Application
    4. Change Assembly name and Default namespace
    5. Save ... and wait
    6. Run
    0 讨论(0)
提交回复
热议问题