I'm unable to build my project after adding the Syncfusion.Blazor.Spreadsheet NuGet package.
My .csproj file contains the following Syncfusion packages:
<PackageReference Include="Syncfusion.Blazor" Version="30.2.5" />
<PackageReference Include="Syncfusion.Blazor.Themes" Version="30.2.5" />
<PackageReference Include="Syncfusion.Compression.Net.Core" Version="30.2.5" />
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="30.2.5" />
<PackageReference Include="Syncfusion.Licensing" Version="30.2.5" />
<PackageReference Include="Syncfusion.Pdf.Net.Core" Version="30.2.5" />
<PackageReference Include="Syncfusion.PdfToImageConverter.Net" Version="30.2.5" />
<PackageReference Include="Syncfusion.PresentationRenderer.Net.Core" Version="30.2.5" />
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="30.2.5" />
<PackageReference Include="Syncfusion.Blazor.Spreadsheet" Version="30.2.5" />
I'm getting a lot of build errors, such as:
Error (active) RZ9989 The attribute '@bind-Value' was matched by multiple bind attributes. Duplicates:
Syncfusion.Blazor.Inputs.SfTextBox
Syncfusion.Blazor.Inputs.SfTextBox ...
Error (active) RZ9985 Multiple components use the tag 'SfTextBox'. Components: Syncfusion.Blazor.Inputs.SfTextBox, Syncfusion.Blazor.Inputs.SfTextBox ...
Error (active) RZ9985 Multiple components use the tag 'SfButton'. Components: Syncfusion.Blazor.Buttons.SfButton, Syncfusion.Blazor.Buttons.SfButton ...
Error (active) RZ9985 Multiple components use the tag 'DropDownListFieldSettings'. Components: Syncfusion.Blazor.DropDowns.DropDownListFieldSettings, Syncfusion.Blazor.DropDowns.DropDownListFieldSettings ...
Error (active) CS0029 Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference' to 'Microsoft.AspNetCore.Components.Forms.EditForm' ...
I've tried to clean and rebuild the project, but the errors persist. The project only builds successfully after I remove the Syncfusion.Blazor.Spreadsheet package.
The project in the following zip file is a simple example of the issue described above.
Attachment: BlazorApp1_96b2c129.zip
Hi Thomas Leung,
Upon reviewing your project setup, we noticed that it includes both Syncfusion.Blazor and Syncfusion.Blazor.Spreadsheet NuGet packages. This configuration can lead to assembly conflicts and runtime issues due to overlapping dependencies and internal references.
The Syncfusion.Blazor.Spreadsheet package is a specialized component designed specifically for spreadsheet functionality in Blazor applications. It is self-contained and includes all the necessary dependencies required for rendering and interacting with spreadsheet control. This package includes the following dependencies as mentioned in the below screenshot:
- Including the base Syncfusion.Blazor package alongside Syncfusion.Blazor.Spreadsheet is not recommended, as it introduces redundant dependencies that may conflict and affect application stability.
- If your application requires additional Syncfusion components beyond spreadsheets such as Grid, Chart, or Scheduler, it is best to reference those packages individually. For example, if you need grid functionality, you can include the Syncfusion.Blazor.Grid package directly.
This modular approach ensures a clean and conflict-free integration, improves maintainability, and aligns with best practices for dependency management. Also, we’ve have modified the shared application that reflects the recommended package usage and structure and attached below for your reference.
Modified application: Please refer to the attachment.
Please review the above details and get back to us if you have any questions or need further assistance.
Regards,
Santhanalakshmi.
Attachment: BlazorApp1_96b2c129_e6992a23.zip
Hi Santhanalakshmi,
Do you have any plans to make the Syncfusion.Blazor.Spreadsheet compatible with the Syncfusion.Blazor package?
My project already uses the Syncfusion.Blazor package and has been thoroughly tested. Separating it into individual components would be a time-consuming process, and we may have to consider other Blazor Spreadsheet products as a result.
Thank you very much for your suggestions.
Regards,
Hi Thomas Leung,
Thank you for your update.
We would like to inform you that the Syncfusion.Blazor.Spreadsheet component is provided as a separate NuGet package rather than being bundled with the main Syncfusion.Blazor package to optimize memory usage and performance. This design decision reflects the component’s complexity and resource intensity.
The Spreadsheet component offers rich Excel-like features such as:
- Large data rendering
- Formula calculations
- Formatting
- File operations
These capabilities make it significantly heavier than other UI components.
Including it in the core package would increase the overall size and memory footprint, potentially impacting applications that do not require spreadsheet functionality. By keeping it modular, Syncfusion enables developers to include only the components they need—resulting in leaner applications with faster load times and improved performance. This approach aligns with modern development practices focused on scalability, responsiveness, and efficient resource management.
Please review the above shared details and get back to us if you have any further questions or concerns.
Regards,
Guhanathan R
- 4 Replies
- 3 Participants
-
TL Thomas Leung
- Aug 14, 2025 02:44 AM UTC
- Aug 15, 2025 09:42 AM UTC