0

I'm new working with .Net Standard 2.0. I want to convert excel files to pdf using a free API. I have tried to install via NuGet many APIs like SautinSoft.ExcelToPdf, Winnovative.ExcelToPdf and EvoPdf.ExcelToPdf without success. I don't want to use interop because according to reviews is a bad choise.

Thanks for your advice.

Er Suman G
  • 581
  • 5
  • 12
Eduardo Slee
  • 63
  • 1
  • 1
  • 3
  • Try [this](https://www.codeproject.com/Articles/17574/Programmatically-Convert-Documents-to-PDFs-the-Eas) or [this](http://neevia.com/support/examples/dpsdk/?get=ex004cnet) or [this](https://sourceforge.net/projects/itextsharp/). Refer [this](https://www.codeproject.com/Articles/277065/Creating-PDF-documents-with-iTextSharp) also – Nelson T Joseph Nov 27 '17 at 04:59
  • What do you mean *without succes*? Where is your code even if it is without success so someone may help you. – CodingYoshi Nov 27 '17 at 05:15
  • Also, what is the goal? a .net standard library is supposed to run on many frameworks and platforms, if you want a .net standard library that works on e.g. mono on iOS, those libraries aren't going to help. – Martin Ullrich Nov 27 '17 at 06:28

1 Answers1

0

That because you are install the .NET framework libraries to the .NET Standard project. This packages may not fully compatible with your project. You can get this warning after install those packages:

enter image description here

So just as Martin`s comment, if you want to convert excel files to pdf with .Net Standard 2.0, those only have .NET framework libraries packages would not help you.

Leo Liu
  • 71,098
  • 10
  • 114
  • 135