Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
After updating to Umbraco 14, I'm getting the following error:
The call is ambiguous between the following methods or properties:
'Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(Umbraco.Cms.Core.DependencyInjection.IUmbracoBuilder, System.Action
and
As you can see here, the 2 are exactly the same:
Anyone have any ideas what the issue could be?
Do you have multiple umbraco nuget packages installed?
I figured it out. Apparently, it was the NuGet package Umbraco.ExaminePDF that was causing it. It was installing a seperate version of Umbraco.Cms.BackOffice. Hopefully it gets updated soon, since I'm using ExaminePDF in my project.
very few packages are currently ready for Umbraco 14 due to the backoffice change.
Umbraco 14 does not use startup.cs just program.cs which OOB looks like
WebApplicationBuilder builder = WebApplication.CreateBuilder(args); builder.CreateUmbracoBuilder() .AddBackOffice() .AddWebsite() .AddDeliveryApi() .AddComposers() .Build(); WebApplication app = builder.Build(); await app.BootUmbracoAsync(); app.UseUmbraco() .WithMiddleware(u => { u.UseBackOffice(); u.UseWebsite(); }) .WithEndpoints(u => { u.UseBackOfficeEndpoints(); u.UseWebsiteEndpoints(); }); await app.RunAsync();
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
"The call is ambiguous between" error at AddBackOffice() in Startup.cs after updating to Umbraco 14
Hi,
After updating to Umbraco 14, I'm getting the following error:
The call is ambiguous between the following methods or properties:
'Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(Umbraco.Cms.Core.DependencyInjection.IUmbracoBuilder, System.Action
and
'Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(Umbraco.Cms.Core.DependencyInjection.IUmbracoBuilder, System.Action
As you can see here, the 2 are exactly the same:
Anyone have any ideas what the issue could be?
Do you have multiple umbraco nuget packages installed?
I figured it out. Apparently, it was the NuGet package Umbraco.ExaminePDF that was causing it. It was installing a seperate version of Umbraco.Cms.BackOffice. Hopefully it gets updated soon, since I'm using ExaminePDF in my project.
very few packages are currently ready for Umbraco 14 due to the backoffice change.
Umbraco 14 does not use startup.cs just program.cs which OOB looks like
is working on a reply...