One of the task in a Sitecore upgrade project is to upgrade the codebase to be compatible with the target Sitecore version. I have listed some of the steps which I learnt and it helped me to upgrade the solution quickly.
- Remove unused references and nuget packages
- Framework upgrade - .NET
- Migrate to SDK Project Format (optional)
- Migrate from packages.config to PackageReference
- Replace Sitecore assemblies reference with nuget package
- Upgrade Sitecore nuget packages
- Upgrade .NET related nuget packages
- Upgrade 3rd party nuget packages
- Compile, replace obsolete methods and fix errors
Before upgrading the codebase, make sure to create a separate branch so that it does not affect the ongoing development tasks.
Visual Studio PowerShell related articles to run scripts.
Sitecore Upgrade related articles.
No comments:
Post a Comment