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.
Unfortunately, activation email could not send to your email. Please try again.

How to deploy .NET Core application with Word to PDF conversion capabilities in Linux OS

To deploy .NET Core application with Word to PDF conversion capabilities in Linux OS, the following NuGet packages needs to be referred in your .NET Core application.

NuGet package

Installation command in package manager

  1. Syncfusion.DocIORenderer.NetStandard

 

Install-package Syncfusion.DocIORenderer.NetStandard -source http://nuget.syncfusion.com/nuget_aspnetcore/nuget/getsyncfusionpackages/aspnetcore

  1. Syncfusion.DocIO.NetStandard

 

Install-package Syncfusion.DocIO.NetStandard -source http://nuget.syncfusion.com/nuget_aspnetcore/nuget/getsyncfusionpackages/aspnetcore

  1. Syncfusion.Compression.NetStandard

 

Install-package Syncfusion.Compression.NetStandard -source http://nuget.syncfusion.com/nuget_aspnetcore/nuget/getsyncfusionpackages/aspnetcore

  1. Syncfusion.OfficeChart.NetStandard

 

Install-package Syncfusion.OfficeChart.NetStandard -source http://nuget.syncfusion.com/nuget_aspnetcore/nuget/getsyncfusionpackages/aspnetcore

  1. Syncfusion.Pdf.NetStandard

 

Install-package Syncfusion.Pdf.NetStandard -source http://nuget.syncfusion.com/nuget_aspnetcore/nuget/getsyncfusionpackages/aspnetcore

  1. SkiaSharp

Install-Package SkiaSharp -Version 1.59.3 -source https://nuget.org/api/v2 

 

Additionally, we required SkiaSharp.Linux helper NuGet package which can be generated by following below steps.

  1. Download libSkiaSharp.so from here.
  2. Create a folder and name it as SkiaSharp.Linux. Then, place the downloaded file in the folder structure “SkiaSharp.Linux\runtimes\linux-x64\native”
  3. Create a nuspec file with name SkiaSharp.Linux.nuspec using following metadata information and place it inside SkiaSharp.Linux folder. The nuspec file can be customized as per your need.

 

  1. Make sure the nuget.exe file is present along with SkiaSharp.Linux folder (in the parent folder of SkiaSharp.Linux folder). If not download it from here.
  2. Open a command prompt and navigate to SkiaSharp.Linux folder
  3. Execute the following command

nuget pack SkiaSharp.Linux\SkiaSharp.Linux.nuspec -outputdirectory "C:\NuGet ". The output directory can be customized as per your need.

Now, SkiaSharp.Linux NuGet will be generated in the mentioned output directory and add the generated NuGet as additional reference.

You can also find the SkiaSharp.Linux NuGet package created by us from here.

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8470 02/22/2018 04/09/2018 ASP.NET Core DocIO
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.