Tuesday, August 07, 2012

Visual Studio 2012 for SharePoint 2010/2013

Lot of developers are still using Visual Studio 2010 for SharePoint 2010 Development , and not taking advantages of the new features in Visual Studio 2012.

Visual Studio 2012 has a number of new features which will improve the productivity of SharePoint 2010 and 2013 Development teams.

For example, there is a new list  and content type designer in Visual Studio. Earlier, the same required writing CAML/XML with hand. The new designer  UI makes it much easier.

Visual web parts can now be created as a Sandbox Solution. The same was also possible earlier using Power Tools, but Visual Studio 2012 has it built in.

For a complete list of new features in Visual Studio 2010 for SharePoint Developers, visit the MSDN link:

Visual Studio 2012 can be used for SharePoint 2010 also. There seems to be misconception that the new features are available only for SharePoint 2013. What is being missed is that these features are in Visual Studio, and available to both SharePoint 2010 and SharePoint 2013.

Below are some screenshots of how SharePoint 2010 teams can benefit from the new features in Visual Studio 2012 on a SharePoint 2010 machines. The UI is friendly and self-intuitive. The screenshots should be self-explanatory to those having SharePoint background. Sharing on my blogpost so that you can evaluate using Visual Studio 2012 for your SharePoint 2010 (and 2013) projects.


SharePoint 2010 Visual Web Part Project Template:

Select Sandbox or Farm Option for Visual Web Part:

Adding Site Column, Content Type, List to SharePoint:

Create Content Types:

Content Type Wizard:

Create a New List:

Options while creating a new list:

Add Site Column to List:

Add Content Types to List:

If required, the CAML generated using the UI can then be modified manually.

No comments: