1.学习大神“三生石上”的博客,程序就算完全拷贝过来,还是会出现:

The view 'Index' or its master was not found or no view engine supports the searched locations. 

的错误。截图如图1所示。

The view 'Index' or its master was not found or no view engine supports the searched locations.

图1 异常截图

2.环境:我使用的是VS2013+Win10+FineUIMvc空项目(FineUIMvc空项目

3.解决方法:重新生成解决方案(Ctrl+Shift+B)!!!(就是这么简单,你以为我在开玩笑,一开始我也是这样想的,但是stackoverflow上有一条答案是这样说的,我就试了一下,没想到竟然成功了。但前提是确保空项目代码和完整入门版代码一致。)

相关文章: