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

我们两清 提交于 2019-12-05 09:36:57

问题


  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, typed Y(Yes)
  4. Built the project
  5. F5

When I run the project I get the following error in Chrome:

How can I solve this problem and get to the installation page?


回答1:


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..




回答2:


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


来源:https://stackoverflow.com/questions/25461798/umbraco-7-could-not-load-type-umbraco-web-umbracoapplication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!