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
SIGN IN To post a reply.
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,
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
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.
- Uninstall existing all Syncfusion NuGet in your solution.
- Clear NuGet cache and delete the same version Syncfusion NuGet package from .nuget folder (C:\Users\{User Name}\.nuget\packages)
- First install the "Syncfusion.Pdf.Net.Core" NuGet using the NuGet package manager source.
- Then, install the remaining Syncfusion control NuGet which is required for your solution.
- Ensure the path of the assemblies are referred properly or not.
- 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
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.
SIGN IN To post a reply.
- 5 Replies
- 5 Participants
-
JP Justin Phuong
- Feb 14, 2020 12:31 AM UTC
- Dec 8, 2022 07:29 AM UTC