title: ViewBag does not exist in current context in MVC 6 Beta 8
body: <p>I am trying to get an MVC 6 beta 8 website up and running. The project contains Web controllers as well as api controllers. The api and web controllers are all working fine. But when using @ViewBag in the views gives the "ViewBag does not exist in the current context". The only thing in the entire solution that does not work are the views. </p>
  
  <p>Anyone encountered a similar problem and is possible to point me into a certain direction or provide a solution?</p>