When I create a MVC project using MVC (VS2015) templae, it create and comnpiles and run ok, but when I go to the index view I get the following error on the cshtml code
"the name viewbag does not exist in the current context"
@{
ViewBag.Title = "Home Page";
}
So how does cshtml can find those reference ? the same happens with the "layout" inthe _ViewStart
Thanks