SharePoint Online: How to import .wsp package into Visual Studio 2019?

sravya shivapuram 211 Reputation points
2022-01-19T14:27:54.377+00:00

Hi,

I have a requirement to modify the master template deployed to solutions in SharePoint Online. I downloaded the .wsp package but don't know to how to open it via Visual Studio and make modifications. Please let me know how I can modify , deploy and package the new .wsp to Solutions?

Also, once uploaded, is there an additional process to activate it?

Any help is greatly appreciated. Thank you in advance.

Regards
SLS

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,704 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,676 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 31,606 Reputation points Microsoft Vendor
    2022-01-20T05:55:45.123+00:00

    Hi @sravya shivapuram ,
    As far as I know, you can only open the wsp file as a cab and modify the files from there. The downside is that all the code will be compiled into assemblies and there will be no way to extract the code from them.

    You could create a new Visual Studio web part project and add the assemblies from the wsp file and see if there are any open facing classes or members that can be accessed and go from there.

    For more information
    https://social.msdn.microsoft.com/Forums/office/en-US/0dd0bf72-638a-4840-9540-f6d0307bb786/how-to-edit-existing-wsp?forum=sharepointdevelopmentlegacy


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.