编译错误 - MVC

时间:2014-04-14 09:58:56

标签: asp.net-mvc compilation

我尝试将aspx重新编程为MVC中的cshtml,错误显示为:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0115: 'ASP._Page_Views_User_Index_cshtml.Execute()': no suitable method found to override

Source Error:


Line 59:         }
Line 60:         
Line 61:         public override void Execute() {
Line 62: BeginContext("~/Views/User/Index.cshtml", 80, 14, false);
Line 63: 

我不知道这个错误是什么......任何想法......

0 个答案:

没有答案