We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

"Could not load file or assembly 'Syncfusion.DocIO.Portable, Version=17.2451.0.51, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

Thread ID:

Created:

Updated:

Platform:

Replies:

148037 Oct 2,2019 10:38 PM UTC Oct 3,2019 10:51 AM UTC Xamarin.iOS 2
loading
Tags: DocIO
Ed Barnes
Asked On October 2, 2019 10:38 PM UTC

Here is what I am trying to accomplish:

1. I created a new .Net Standard 2.0 library that will generate PDF Reports. This library will be used in our Xamarin apps (iOS, Android and UWP) and also be called from our ASP.Net. Web Api Service.

2. I added the following packages to my .Net Standard library:
     SyncFusion.Xamarin.DocIO (17.2.0.51)
     SyncFusion.Xamarin.DocIORenderer (17.2.0.51)
     SyncFusion.Xamarin.PFD (17.2.0.51)

3. I added the .Net Standard library to my Web Api Service project.

4. Tried to call into my library to generate a PDF Report and got the following error:
"Could not load file or assembly 'Syncfusion.DocIO.Portable, Version=17.2451.0.51, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

What am I missing?

Do I need to add this line somewhere (in the library? in the Web Api Service?):
SyncfusionLicenseProvider.RegisterLicense(....)

When I look in the bin folder of my Wep Api Service and my .Net Standard library there are no SyncFusion dlls which I would expect to see yet the project compiles and runs.

Kind of lost.

Ed Barnes
Replied On October 2, 2019 10:51 PM UTC

I tried adding this to my Startup.cs class in my ASP.Net Web Api and it did not fix the issue:

SyncfusionLicenseProvider.RegisterLicense(....)

Vijayasurya Anandhan [Syncfusion]
Replied On October 3, 2019 10:51 AM UTC

Hi Ed Barnes,

Thank you for contacting Syncfusion support.

We have updated the details in the support incident which has been created under your account to track the status of this issue. Please log on to our support website to check for further updates.
https://www.syncfusion.com/support/directtrac/incidents

Regards,
Vijayasurya A


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon