Unable to use syncfusion compoments because of assemblies

Hello, I would like to use syncfusion with winforms, but I am still getting this error: error.PNG

It's in Czech language, but basically it says something like „Could not load file or assembly syncfusion.shared.base Version=19.4460.0.50, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89 or one of its dependencies. The system cannot find the file specified“ 

I have installed Syncfusion.Licensing and Syncfusion.Shared.Base from NuGet package manager in VS2022.

I have already tried: 

  • Restart PC
  • Restart Visual Studio
  • Rebuild solution
  • Reinstall NuGet packages
  • Downgrade NuGet packages version
  • Use some other syncfusion components (still getting the error, no change)
  • Delete obj and bin folders
Does anyone knows what am I missing? Do I have to install something else? I have read „get started“ couple of times, but I am still kinda clueless.
Thank you and have a nice day!
Jan

5 Replies

KG Kalirajan Ganesan Syncfusion Team February 14, 2022 06:08 AM UTC

  
Hi Jan,

We are unable to reproduce the reported issue when running application after adding control with Syncfusion.Shared.Base and Syncfusion.Licensing packages (v19.4.0.50) in WinForms application. Kindly share issue reproducing steps or video with following details to check this issue further.
 
 
1.   Share project file content if possible. 
2.   Share the packages.config file content. 
3.   Share the App.config content except confidential information if possible. 

Thanks,
Kalirajan Ganesan
 



JS Jan Smutny replied to Kalirajan G February 14, 2022 03:29 PM UTC

Hello Kalirajan, thanks for your reply. Unfortunately, I can't share the whole project. However I have shared with you those files you have requested.

Thank you very much for help

Jan


Attachment: config_c1305cd7.zip


KG Kalirajan Ganesan Syncfusion Team February 15, 2022 10:17 AM UTC

Hi Jan,


We suspect that this problem is caused by different versions in the app.config and packages.config files. To resolve this issue, remove the assemblyBinding tag from app.config. If the problem persists after the above changes have been made, please share the following information so that we can investigate further.


  1. Syncfusion components list that you have in your project.

  2. Syncfusion.Shared.Base and Syncfusion.Licensing assembly’s version referred in your project.


Thanks,
Kalirajan Ganesan



JS Jan Smutny replied to Kalirajan G February 15, 2022 08:12 PM UTC

Hello,

unfortunately, deleting assemblyBinding tag didn't help. I am using only TextBoxExt. Versions of packages can be seen in packages.config.

Thank you for your help

Jan

 



KG Kalirajan Ganesan Syncfusion Team February 16, 2022 08:58 AM UTC

Hi Jan, 
 
We can reproduce the reported issue, but the issue was resolved after removing the assemblyBinding tag value from app.config. Kindly remove the assemblyBinding whole tag value from app.config, then remove the bin and obj folders from the project location and check whether the issue has arisen or not. 
If the issue persists, we can schedule a web meeting to check the issue directly on your machine and provide a quick solution. Please let us know your availability for the web meeting. 

Thanks,
Kalirajan Ganesan
 


Loader.
Up arrow icon