I followed the examples on this page https://blazor.syncfusion.com/documentation/drop-down-menu/getting-started and I can't compile because this line
builder.Services.AddSyncfusionBlazor(options => { options.IgnoreScriptIsolation = true; });
gives me this error
error CS0121: The call is ambiguous between the following methods or properties: 'Syncfusion.Blazor.SyncfusionBlazor.AddSyncfusionBlazor(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action<Syncfusion.Blazor.GlobalOptions>)' and 'Syncfusion.Blazor.SyncfusionBlazor.AddSyncfusionBlazor(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action<Syncfusion.Blazor.GlobalOptions>)'
This is my csproj file
And here is my imports.razor file
Hi Dorian,
We have prepared a sample, please find the below link.
Note: We have made changes in IgnoreScriptIsolation, so please refer the below link
https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes
Regards,
Thaneegairaj S
I had this issue recently and it was because my project was referencing
Hi Ben Alexandra,
We have checked the reported query and do not use both Syncfusion.Blazor and individual NuGet packages in the same application. It will throw ambiguous errors while compiling the project. So, we suggest you use Syncfusion.Blazor.Buttons NuGet packages alone for the Button component. If you want to use all our Syncfusion Blazor components, please remove individual NuGet packages and install Syncfusion Blazor NuGet packages. We have shared the documentation for your reference.
UG Link: https://blazor.syncfusion.com/documentation/nuget-packages
Please let us know if you need any further assistance on this.
Regards,
KeerthiKaran K V