 悬赏园豆:30
                [已解决问题] 
            
                    解决于 2014-12-19 16:54
                悬赏园豆:30
                [已解决问题] 
            
                    解决于 2014-12-19 16:54 
                 
        编辑ASP.NET MVC项目时,View中的@model代码报错:
The name 'model' does not exist in the current context
请问如何解决这个问题?
问题是web.config中的配置与MVC的版本不匹配引起的,但修改为正确的web.config之后,要关闭.cshtml文件再打开进行编译,才能解决问题。