MVC5 Microsoft.CSharp.RuntimeBinder.RuntimeBinderException

前端 未结 7 1945
春和景丽
春和景丽 2021-02-01 21:52

Ive been working on converting a MVC4 project over to MVC5. The first day I ran into an \'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException\' but was able to resolve it by s

7条回答
  •  时光取名叫无心
    2021-02-01 22:34

    I got the same error after replacing account models to another folder. When I double checked each view under the Account folder I found out my "Manage.cshtml" referenced to old namespace. I changed it to correct namespace for my models and the error fixed.

提交回复
热议问题