How to upgrade a Visual Studio SharePoint 2010 Branding project

The assumption is that you deployed your branding solution as .wsp file and you now wanted to make further changes such as the master page, page layout, CSS, images etc..
How do you go about the upgrade and deployment process:

  1. Open your existing branding solution using Visual Studio 2010 or latest version
  2.  Make the appropriate code changes
  3. Save your project and later, right click your solution and  “Rebuild”
  4. Right click your solution and click “Package”
  5. Right click your solution and click “Open Folder in Windows Explorer”
  6. Click the bin folder
  7. Click Debug folder
  8. Make sure your .dll, .pdb and .wsp files’ modified date is todays date to reflect that you indeed have rebuilt the project
  9. Make a copy of the wsp file, rename it such as by giving a version number
  10. Since this is a Sandboxed solution, to deploy click Site Actions -> Site Settings -> Solutions (i.e. under Galleries)
  11. From Solutions page, click the Solutioms ribon and later Upload Soltuion icon.
  12. Upload the renamed .wsp file and in the Solution Gallery – Upgrade Soltuion dial box click the Upgrade icon
  13. As you can see your new .wsp file is activated while the previous .wsp file is deactivated

That is it.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.