This question already has an answer here:

I've inherited a site with a Sandbox Solution but no documentation nor the original solution package. How can I extract the .wsp to get the solution? I tried renaming it to a .cab file and extracting it and importing the solution to Visual Studio. In both cases, I'm missing the .cs files for the Web Parts. I can only see the .webpart file and the .elements file. Thanks for the help!

marked as duplicate by Robert Lindgren May 5 '14 at 12:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


I asked the same question a few months ago. Here is the answer I got:

After extracting the dll files from the .cab, you can decompile the DLL with Reflector, dotPeek or any other decompile tools and or import the WSP into Visual Studio.

I've been using JetBrains dotPeek, and I've been satisfied by it.

  • Thank you! My Google skills must have been lacking this morning. Sorry for the duplicate! – James Grizzle May 5 '14 at 13:34

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