SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to extract the various projects from a wsp file to work on say the masterpages, web parts and other custom user controls just like I would in Visual Studio 2010?

share|improve this question
up vote 1 down vote accepted

You can import your WSP as a project in Visual Studio 2010. This will give you a starting project layout, which you can modify and recompile/repackage.

Simply do New Project and then choose the type for importing WSP (I don't have the exact name handy but it's obvious when you read it :P)

share|improve this answer
Thanks a ton Louis! I am assuming that if I just save the changes I make in VS2010 the wsp gets updated automatically? – user7400 Jun 22 '12 at 11:53
Not the original WSP, you will get a brand new VS2010 project and you can just repackage it in its own WSP (with the same name if you wish) – Louis Jun 22 '12 at 15:04

it a cab file, rename it to .zip or register your favorite archive manager.

Then you can view/edit its content.

When you are done, recab it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.