Error: «Could not load type MvcApplication»

后端 未结 30 1774
心在旅途
心在旅途 2020-11-28 02:18

I am getting the error

Could not load type MvcApplication

when I try to run my website.

How to correct it?

30条回答
  •  我在风中等你
    2020-11-28 02:57

    I had this error again and none of the above worked for me. I had to remove the following node in .csproj file: ..... Reloaded VS and it worked.

    FYI, VS was able to recreate the node and then I recreated the website in IIS (through VS) and it worked perfectly.

    Hopefully this will help someone.

提交回复
热议问题