We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

services.AddSyncfusionBlazor error CS0121 when create a WinForms Blazor App.

When I try to create a WinForms Blazor App,I got error CS0121 because this line :

services.AddSyncfusionBlazor(options => { options.IgnoreScriptIsolation = true; });


error CS0121: The call is ambiguous between the following methods or properties: 'Syncfusion.Blazor.SyncfusionBlazor.AddSyncfusionBlazor(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action)' and 'Syncfusion.Blazor.SyncfusionBlazor.AddSyncfusionBlazor(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action)'

Attachment: WinFormsApp1_c35309bd.zip

3 Replies

SI Silambarasan I Syncfusion Team April 4, 2023 01:47 PM UTC


The reported issue occurred due to installing both `Syncfusion.Blazor` (single) and individual Syncfusion NuGets. So, we suggest you use either single NuGet or individual Syncfusion NuGets to resolve this issue.



Silambarasan Ilango

TL Thomas Leung April 5, 2023 02:17 AM UTC


It's worked according to your suggestion. Thanks.

BH BharatRam Harikrishnan Syncfusion Team April 5, 2023 08:43 AM UTC


Thanks for the update. Please get back to us if you need any further assistance.


Bharat Ram H

Live Chat Icon For mobile
Up arrow icon