'System.Web.Mvc.HtmlHelper' does not contain a definition for 'RenderPartial' - ASP.Net MVC

后端 未结 5 856
不思量自难忘°
不思量自难忘° 2021-01-17 23:37

I\'ve been trying to run ASP.Net MVC 1.0 on one machine, but can\'t get past this. I create a new MVC project (C#). It creates all the folders, views, controllers, models

5条回答
  •  失恋的感觉
    2021-01-18 00:16

    Another possible problem (depending on your error string) is that the extension method is there, but that the compiler couldn't match up your parameters to the known method parameters. I ran into this using T4MVC (noob) and forgetting to add ActionNames before the name of the action I was calling.

提交回复
热议问题