• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 920
  • Last Modified:

upgrade sharepoint 2007 visual studio projects to Sharepoint 2013 in visual studio 2012

I have multile projects trying to upgrade from sharepoint 2007 which was developed in Visual studio 2008 to Visual Studio 2012 and sharepoint 2013.

I try to open the solution file in visual stuido 2012, the project is not getting updated and get incompatible with this version. What is the best way to upgrade the projects.

I have the code developed in visual basic.net
  • 2
1 Solution
Rainer JeschorCommented:
as there has been no native support in VS 2008 for SharePoint solutions and as the complete VS solution and project definitions have changed, it is easier (and the recommended way) to create new (blank) solutions in Visual Studio, setting the solution and feature properties (GUIDs, versions, naming,...) and recreate each and every feature using copy&paste from the old sources.

bujjigaduAuthor Commented:
As you suggest part of this I tried to copy an aspx page but I realize it still reference to version 12.0 of sharepoint assembly. Not sure how to change this on top of every aspx page I have

<%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
bujjigaduAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now