Upgrade from 12 to 13 Nuget order?
j
Hi, We are trying to upgrade our 12 site to 13 via the NuGet Package Manager but cannot seem to upgrade. It throws all sorts of errors. We have Skybrud Redirects 4.0.18 installed and Umbraco CMS Web Common and Umbraco Forms installed and these seem to be stopping the upgrade. Here is an example of the error: Severity Code Description Project File Line Suppression State Error NU1107 Version conflict detected for Umbraco.Cms.Web.BackOffice. Install/reference Umbraco.Cms.Web.BackOffice 13.0.0 directly to project Test.Web to resolve this issue. Test.Web -> Test.Core -> Umbraco.Cms.Web.BackOffice (>= 13.0.0) Test.Web -> Umbraco.Forms 12.2.0 -> Umbraco.Forms.StaticAssets 12.2.0 -> Umbraco.Cms.Web.BackOffice (>= 12.0.0 && < 13.0.0). When following the Error guides we just go around in an error circle of doom. Any thought son how to upgrade from 12 to 13 smoothly? @User @User
As a follow on - it does seem like we have to Uninstall the said packages and then the re-install them once 13 is installed
k
Yes - i think Umbraco v12 packages have to be removed. although i don't do an upgrade like that via the package manager to be honest, i search and replace 🤷‍♂️ in the csproj files. then everything happens at once (this is not the recommended way to do it)
k
As a side note, is 12 > 13 a supported upgrade scenario, including Forms?
I think I'd apologize to Visual Studio after doing that... and to the Umbraco migration code
j
There doesnt seem to be a version 13 in Skybud Redirect package @User
t
There should be a release candidate version though, I am using one. Let me see if I can find it.
<PackageReference Include="Skybrud.Umbraco.Redirects" Version="13.0.0-alpha001" />
k
I'm also having problems upgrading a Cloud project fra 12 to 13. No extra packages installed. When following instructions on docs.umbraco.com on major upgrade from VS i get: Version conflict detected for Umbraco.Forms.Core.Providers. Install/reference Umbraco.Forms.Core.Providers 13.0.0 directly to project UmbracoProject to resolve this issue. If I do dotnet add package Umbraco.Cms --version 13.0.1 i get this error: Version conflict detected for Umbraco.Cms.Web.BackOffice. Install/reference Umbraco.Cms.Web.BackOffice 13.0.1 directly to project UmbracoProject to resolve this issue.
k
That's usually because you've referenced too many packages directly from your projects. Start by removing all Umbraco packages from all projects, and then installing only the required ones. Usually only the "main" Umbraco package is needed for the web project, only Core and Infrastructure for the Models project, etc.
k
Ah, reason was Umbraco.Deploy.Forms has been renamed Umbraco.Forms.Deploy. Removed the package, upgraded everything and then re-adding Umbraco.Forms.Deploy did the trick.
mental note - rtfm 😆
a
I had the same problem with versions, i ended up installing a few umbraco packages to get it to work.
31 Views