Error: «Could not load type MvcApplication»

后端 未结 30 1778
心在旅途
心在旅途 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:43

    [Extracted from question]

    If you are getting this error: "Could not load type MvcApplication", look at the Output path of your project and make sure it is set to 'bin\'. The problem is that the AspNetCompiler cannot find the files if they are not in the default location.

    Another side effect of changing the output folder is that you will not be able to debug your code and it comes up with a message saying that the Assembly info cannot be found.

提交回复
热议问题