Did you mean this view overload:
protected internal ViewResult View(string viewName, Object model)
MVC is confused by this overload:
protected internal ViewResult View(string viewName, string masterName)
Use this overload:
protected internal virtual ViewResult View(string viewName, string masterName, Object model)
In this way:
return View("~/Views/Sth/Sth.cshtml", null , "abc");
By the way, you could just use this:
return View("Sth", null, "abc");
Overload Resolution on MSDN
gdoron Mar 21 '12 at 10:22 2012-03-21 10:22
source share