Upgrading Umbraco V13 to V15 - Backoffice ambiguous error
Trying to upgrade a project to Umbraco V15
updated all the package versions in the csproj file to most current version available
"Umbraco.Cms", "Umbraco.Forms"
"Umbraco.Cms.Core", "Umbraco.Cms.Infrastructure" to 15.1.1
"Umbraco.Forms.Deploy" , "Umbraco.StorageProviders.AzureBlob" and
"Umbraco.StorageProviders.AzureBlob.ImageSharp" to 15.0.0
when rebuilding the project I'm getting the following error
The call is ambiguous between the following methods or properties: 'Umbraco.Extensions.UmbracoApplicationBuilderExtensions.UseBackOffice(Umbraco.Cms.Web.Common.ApplicationBuilder.IUmbracoApplicationBuilderContext)' and 'Umbraco.Extensions.UmbracoApplicationBuilderExtensions.UseBackOffice(Umbraco.Cms.Web.Common.ApplicationBuilder.IUmbracoApplicationBuilderContext)'
on the AddBackoffice(), UseBackoffice() and UseBackOfficeEndpoints()
in the startup file
I tried this the other week and got a similar error. I think the backoffice is new in v15.
Try firing up a new Umbraco 15 project and comparing the startup/program files with what you have in V13.
I found lots of breaking changes in my project - it was using Block Grid custom edit views and they are done completely differently. In the end I rebuilt the site from scratch. I can't remember whether I solved the startup code issue.
Upgrading Umbraco V13 to V15 - Backoffice ambiguous error
Trying to upgrade a project to Umbraco V15
updated all the package versions in the csproj file to most current version available
"Umbraco.Cms", "Umbraco.Forms" "Umbraco.Cms.Core", "Umbraco.Cms.Infrastructure" to 15.1.1
"Umbraco.Forms.Deploy" , "Umbraco.StorageProviders.AzureBlob" and "Umbraco.StorageProviders.AzureBlob.ImageSharp" to 15.0.0
when rebuilding the project I'm getting the following error
on the AddBackoffice(), UseBackoffice() and UseBackOfficeEndpoints() in the startup file
ideas?
please and thank you.
I tried this the other week and got a similar error. I think the backoffice is new in v15.
Try firing up a new Umbraco 15 project and comparing the startup/program files with what you have in V13.
I found lots of breaking changes in my project - it was using Block Grid custom edit views and they are done completely differently. In the end I rebuilt the site from scratch. I can't remember whether I solved the startup code issue.
Good luck
John
Turns out I had uSync installed, so I needed to update it as well.
I also had to delete all the models since they were using IPublishedSnapshotAccessor, which has been removed.
I commented out some code to get the project to start and then rebuilt the models.
is working on a reply...