Articulate icon indicating copy to clipboard operation
Articulate copied to clipboard

Ambiguous UmbracoBuilderExtensions Umbraco 14

Open EddieDemon opened this issue 8 months ago • 3 comments

I just updated to Umbraco 14 and noticed an error which did not exist before Umbraco 14. Now this error only shows itself when I add Articulate (truth being it's the only additional package I added.) I'm unsure why this happens, since you always have Umbraco.Cms.Api.Delivery and Umbraco.Cms.Api.Management. Only when Articulate is added it becomes an issue.

I'm some what sure it's me, but I would love someone else to look over this.

error CS0121: The call is ambiguous between the following methods or properties: 'Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(Umbrac o.Cms.Core.DependencyInjection.IUmbracoBuilder, System.Action<Microsoft.Extensions.DependencyInjection.IMvcBuilder>?)' and 'Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(Umbraco.Cms.Core.Dependenc yInjection.IUmbracoBuilder, System.Action<Microsoft.Extensions.DependencyInjection.IMvcBuilder>?)'

Now, to reproduce:

dotnet new install Umbraco.Templates
dotnet new umbraco
dotnet add package Articulate
dotnet build

EddieDemon avatar Jul 02 '24 15:07 EddieDemon