Update: If you are using a newer version of MVC, the same process applies, just be sure to use the correct version number in the web.config's <host> line.
我遇到了同样的问题,但在我的情况下,唯一改变的是我卸载了 VisualStudio2012并安装了 VisualStudio2013。我打开了我们的解决方案,但是我在每个 Razor 视图中都得到相同的 The name 'model' does not exist in current context错误。
My coworker suggested checking for updates for VS2013. After I installed the VS2013更新1, I stopped getting this error.