简体   繁体   中英

How can I convert excel file to pdf using .Net Standard 2.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.

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:

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM