Visual Studio 2013 Preview and Apps for SharePoint

In case you installed Visual Studio 2013 Preview onto a fresh machine (in my case Windows 8.1 Preview) and ran into one of the following problems when creating an App for SharePoint install the prerequisites mentioned below…

Problems on compiling the empty ASP.NET MVC (App for SharePoint template solution):

  • The type or namespace name ‘SharePointContextFilter’ could not be found (are you missing a using directive or an assembly reference?) …\Controllers\HomeController.cs
  • The type or namespace name ‘SharePointContextFilterAttribute’ could not be found (are you missing a using directive or an assembly reference?) …\Controllers\HomeController.cs
  • The name ‘SharePointContextProvider’ does not exist in the current context …\Controllers\HomeController.cs
  • The file “SharePointContext.cs” is missing in the root of your web application.

Installed the following prerequisites to solve the problem: