SharePoint 2013 Project Templates for Visual Studio 2012

While working with the SharePoint 2013 technical preview and Visual Studio 2012 RC, you may find yourself actually want to build some stuff. You install Visual Studio 2012 RC and then install SharePoint 2013, and expect there to be some relevant project templates available for you to develop against. Too bad, no SharePoint’y templates:

You will need to grab the SharePoint and Office project templates here:
http://msdn.microsoft.com/en-US/office/apps/fp123627

Make sure to select the download appropriate to your Visual Studio 2012 version:

But.. after installing this you just get SharePoint 2010 templates..

You’ll need to now install the Web Platform Installer 4.0 (http://www.microsoft.com/web/downloads/platform.aspx)
After installation , Open it and search for “office”:

Select the “Microsoft Office Developer Tools for Visual Studio 2012 RC” from the search result.
Add and install the selected component. During installation, it will install other supporting components also.

After installation, Install SharePoint Server 2013 Client Components SDK from the following location:
http://www.microsoft.com/en-us/download/details.aspx?id=30355
You are now done and SharePoint 2013 project template should be available in the VS 2012:

Phew! That was a lot of work. Looks like Visual Studio 2012 is out in release as I write this, so here’s hoping the SharePoint jazz we need is already baked into that one.

Incoming search terms:

Tags:

Trackback from your site.

Keith Tuomi

Keith is SharePoint Consultant and problem solver with itgroove. He's been focused on Microsoft technologies as a Developer and Web Applications specialist since the beginning of the internet era in the early '90s, with formal training coming from the esteemed British Columbia Institute of Technology. He is a SharePoint MVP, which is a coveted Microsoft award for community contributions and technical excellence. Keith has wide array of international experience and is also adapt at translating your business needs into bits & bytes.

Comments (3)

  • John

    |

    So i have done all this, and i am still unable to connect to the SP2013 instance locally.

    Got any pointers?

    Reply

    • Keith Tuomi

      |

      Hey John,

      Option 1
      This issue is very common when using Host Headers. Try adding your url to the Hosts file on your development server. The path is:
      C:\Windows\System32\Drivers\etc\hosts
      Open the file using Notepad with Administrator rights add the IP and URL and then Visual Studio should connect to your SharePoint site.

      Option 2
      1. Add yourself as the shell admin
      $configDBName =
      $user = “domain\username”
      $db = Get-SPDatabase | Where-Object { $_.Name -eq $configDBName }
      Add-SPShellAdmin -Username $user -Database $db.ID

      2. Make sure you start Visual Studio as admin

      Reply

Leave a comment

Recent Comments

  • ChristopheD

    Hi Keith
    Sorry for the late answer but I had some urgent problems to solve.
    It’s ok now the feature has been removed and there is no more message.
    thanks a lot for your help and time.

  • Keith Tuomi

    Don’t worry, I often am unable to wrap my head around SharePoint too. ;)

    It really does sound like what you need a is Workflow. A workflow let’s you perform business logic like you described – check out the getting started guide at http://msdn.microsoft.com/en-us/library/office/jj163917(v=office.15).aspx. SharePoint includes Workflow out of the box, all you need to do to get started is download a free copy of SharePoint Designer.

Follow me on Twitter