Forum Discussion

Devshan's avatar
Devshan
Copper Contributor
Jun 28, 2023

Migrating SharePoint Custom Farm Solution (WSP) from SharePoint 2016 to Subscription Edition

Hello Everyone,

 

We all know that we can migrate SharePoint custom farm solutions (WSP) from SP 2013 to SP 2016 and then to SP 2019. I am trying to find out if there are any official guide documents from Microsoft that provide information on the compatibility and process to migrate SharePoint 2016 Farm solutions (WSP) to SharePoint Subscription Edition (On-Prem). If anyone is aware of any information from Microsoft regarding this, please advise.

 

Additionally, when migrating custom farm solutions (WSP) from SP 2013 to SP 2016, SharePoint takes care of the .NET Assembly redirects. This means that the SharePoint 2013 DLLs will be automatically redirected to the SharePoint 2016 DLLs. In most cases, there is no need to rebuild the source code in .NET 4.6 (Link).

 

Does this redirection mechanism work the same way for Subscription Edition as well?  Please advise.

 

  • JMagDB's avatar
    JMagDB
    Copper Contributor

    Hi

    We have SharePoint2016 UserControls they work fine on SharePointSE (on classic site).

    Without recompile.

    Regards

  • majidgorbani's avatar
    majidgorbani
    Copper Contributor

    Hi Devshan

    Have you found out the facts about the work? Would appreciate if you could share with us if you have found out the best practice operation.

    • Can you elaborate which best practice ?

      If you mean upgrade an on-prem enviroment, I've done a couple of these, and my recommendation would be to create clean installation. create a new structure and migrate the files using ShareGate.

      Creating a clean structure with make it a lot easier and faster as upgrading from 2013 -> 2016 -> 2019 -> SE, will take bring a lot of old classic junk and bugs. So it's better to start of clean.

Resources