Skip to content

Upgrading to Unicorn 2

Kam Figy edited this page Mar 1, 2014 · 1 revision

Upgrading to Unicorn 2 from 1.x is a relatively simple process.

  • Make a backup of your existing databases and make a branch to integrate on in your SCM of choice (ps: use Git)
  • Copy the contents of your current serialization preset (sitecore/serialization/default) to somewhere handy
  • Upgrade the Unicorn NuGet package to the latest 2.0 version
  • When prompted if you want to overwrite Serialization.config say YES
  • Open the replaced Serialization.config and paste the <include> entries from your 1.x preset into the body of the 2.x predicate (sitecore/unicorn/configurations/configuration/predicate) and replace the existing entries there
  • Delete the sync-database.aspx if you have it somewhere. In 2.x you use /unicorn.aspx instead.
  • Test it, and if it works merge your integration branch.

Have fun!

Clone this wiki locally