Upgrading Moss07 WSPBuilder07 sln to a WSPBuilder10 in a SP2010 sln

The old MOSS07 solutions uses WSPBuilder07

Strategy is to upgrade the MOSS07 solution to SP2010 using WSPBuilder10 for existing solutions.

New solutions should use the new SPI file layout
http://sharepoint.mindsharpblogs.com/Todd/archive/2010/08/24/Visual-Studio-2010-SharePoint-Project-SPIs.aspx. It replaced WSPBuilder.

Upgrading MOSS07 project that uses WSPBuilder.exe v0.9.9.0728

  • Get and install WSPBuilder Extensions 2010 BETA 1.4. This will add WSPBuilder to VS2010 as you are used to from VS2008.
  • Verify IIS permission by doing “Recycle AppPools” (ctrl-shft-alt-B, R). If this gives access problems to redirection.config, then get some help from here.
  • Copy old solution to a new folder
  • Open old project file (.csproj) in VS2010
  • Remove SourceControl Permanently
  • Save to a new solution file (.sln)
  • Within a project:
    • Make a note of all the references that are marked with warning sing (missing or wrong version)
      • Microsoft.Office.Server
      • Microsoft.Sharepoiont
      • Microsoft.Sharepoiont.ApplicationPages.Administration
      • Microsoft.sharepoiont.portal
      • Microsoft.Sharepoiont.Publishing
      • Microsoft.Sharepoiont.Security
      • System.Web.Extensions
    • Remove those ref’s and add new ones from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\.
      You could optionally add them as refs in VS.
    • Rename folder \12\ to \14\
    • Change 4 part assembly name from
      • Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c
      • Microsoft.SharePoint.ApplicationPages, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c
    • to
      • Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c
    • Is SPF-CU needed to install in order to get Microsoft.Sharepoiont.ApplicationPages.dll?
      And possibly hotfix kb2536591 and/or kb253?
      Find the dll under C:\inetpub\wwwroot\wss\Virtual Directories\<your site>\_app_bin\
    • xxx
  • xxx




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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: