Could not load file or assembly

I have Syncfusion.Pdf.Base added as a reference. However, I get the error when building:
Could not load file or assembly 'Syncfusion.Pdf.Base, Version=17.4460.0.49, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The system cannot find the file specified.

I am using .NET framework version 4.7.2

5 Replies

SL Sowmiya Loganathan Syncfusion Team February 14, 2020 10:15 AM UTC

Hi Justin,    
   
Thank you for contacting Syncfusion support.   
   
We have tried to reproduce the reported issue with the .NET Framework version 4.7.2 and product version 17.4.0.49. But we regret to let you know that we were unable to reproduce it. Please find the sample which we have tried from below,    
   
Samplehttps://www.syncfusion.com/downloads/support/forum/151549/ze/WpfAppplication2116437740                                                                                                                                           
   
Please make ensure that the NuGet package is properly installed in your system and also check whether any other version specified in the App.config file. If still, you have to face the issue, kindly share with us the sample (with bin and obj folder) which you have faced the issue. We will analyze and provide a better solution for this.    
  
Regards, 
Sowmiya Loganathan 



JP Justin Phuong February 17, 2020 07:23 PM UTC

I fixed the issue, thanks. There was an issue in my assembly binding.


PV Prakash Viswanathan Syncfusion Team February 18, 2020 11:04 AM UTC

Hi Justin, 
 
Thank you for the update. Please let us know if you need any further assistance on this.   
    
Regards,   
Prakash V   



CA Chouaib Amir replied to Justin Phuong December 7, 2022 02:22 PM UTC

hello sir , i got the same issue right now , can you help



IJ Irfana Jaffer Sadhik Syncfusion Team December 8, 2022 07:29 AM UTC

Please follow the below steps if you are using NuGet packages at your side.

  1. Uninstall existing all Syncfusion NuGet in your solution.
  2. Clear NuGet cache and delete the same version Syncfusion NuGet package from .nuget folder (C:\Users\{User Name}\.nuget\packages)
  3. First install the "Syncfusion.Pdf.Net.Core" NuGet using the NuGet package manager source.
  4. Then, install the remaining Syncfusion control NuGet which is required for your solution.
  5. Ensure the path of the assemblies are referred properly or not.
  6. Clean and rebuild.

We have attached the sample along with the video for your reference.Try this in your end and let us know the result.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/CreatePDFSample520478536

Video:https://www.syncfusion.com/downloads/support/directtrac/general/ze/ScreenCapture_12-8-2022_12.43.57_PM.mp4-2100434014

Please make ensure that the NuGet package is properly installed in your system and also check whether any other version specified in the App.config file. If still, you have to face the issue, kindly share with us the sample (with bin and obj folder) which you have faced the issue. We will analyze and provide a better solution for this.    



Loader.
Up arrow icon