InvalidCastException is thrown after installing ASP.NET MVC 4 Beta

前端 未结 9 1653
小鲜肉
小鲜肉 2020-12-25 09:29

I get the following exception after installing ASP.NET MVC 4 Beta on a machine with ASP.NET MVC 3.

System.InvalidCastException was unhandled by user c

9条回答
  •  情深已故
    2020-12-25 09:50

    For the sake of completeness...

    You can also just turn off webpages altogether if you aren't using them.

    
        
    
    

    (I'm still not entirely clear on the relationship between razor views and webpages, but it seems my MVC app with razor views still works with webpages disabled.)

提交回复
热议问题