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:

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s