Visual Studio 2015 Razor View MVC Types not recognized

后端 未结 7 1416
Happy的楠姐
Happy的楠姐 2020-12-30 20:21

I installed Visual Studio 2015 and rebooted. The \"MVC\" types are not recognized in 2015 but are still recognized in 2013. This is my \"Views\" web.config:

7条回答
  •  青春惊慌失措
    2020-12-30 20:40

    It didn't work for me. It seems that this issue has several root causes related to web.config.

    One another problem was root web.config compilation version mismatch.

    
    
    
    

    If httpruntime version is different from the assembly's this may happen.

提交回复
热议问题