SfUploader compilation error
Subject: SfUploader compilation is not working
Hi Team;
I just downloaded the trial package. I am trying to set a demo using your controls.
Could you tell me why I get the red lines (see below) on a razor page even though I have used:
@using Microsoft.AspNetCore.Hosting
@using Microsoft.AspNetCore.Components.Forms;
@using Syncfusion.Blazor
@using Syncfusion.Blazor.Inputs
Thanks
Intesar Ramley
Attachment: FileUploadPageRazorFile_207665b.txt
Hi Intesar,
Documentation reference: https://blazor.syncfusion.com/documentation/file-upload/getting-started-with-web-app
Regards,
Mallesh R
Attachment: Uploader_e34c6ac1.zip
Sorry, I haven't responded to your earlier email. I wasn't able to use your sample with VS2022. See the error/warning below.
Thanks
We have reviewed the situation and would like to clarify that this issue is not related to Syncfusion components. The errors shown in your screenshots are due to Visual Studio configuration or cache problems, and not caused by the controls or libraries used in the sample. To resolve this, we recommend the following steps:
1] Close Visual Studio completely.
2] Navigate to %LocalAppData%\Microsoft\VisualStudio\<your_VS_version>\ComponentModelCache and delete the contents of this folder.
3] Open the Visual Studio Installer and check for any product updates. Please update Visual Studio to the latest version if any updates are available.
If the issue persists, consider using the "Repair" option in the Visual Studio Installer.
For more guidance, you may refer to these Microsoft resources:
- 3 Replies
- 2 Participants
-
IF Intesar F. K. EL Ramley
- Jul 9, 2025 10:00 PM UTC
- Jul 30, 2025 06:11 PM UTC