- Home
- Forum
- ASP.NET Core - EJ 2
- Is the Presentation component working on Linux?
Is the Presentation component working on Linux?
I have built a .net core console project with Syncfusion.Presentation.Portable.dll (and others) components using Visual Studio 2019 Community. I can follow some documentation examples to generate sample pptx file. Then, I tried to build a self contained package for Linux64. The package built but when I copied it to my Linux box, the project didnt run with following error:
Error:
An assembly specified in the application dependencies manifest (ConsoleApp1.deps.json) was not found:
package: 'Syncfusion.Compression.Net.Core', version: '17.2.0.34'
path: 'lib/netstandard2.0/Syncfusion.Compression.Portable.dll'
John
SIGN IN To post a reply.
3 Replies
VA
Vijayasurya Anandhan
Syncfusion Team
July 16, 2019 01:02 PM UTC
Hi John,
Thank you for contacting Syncfusion support.
We have tried to reproduce the issue, but it is working fine in our end. Please find the sample which we have tried to reproduce the issue in our end from the below link.
https://www.syncfusion.com/downloads/support/forum/145955/ze/PPTXToPDF1908334510.zip
Please find the self-contained package generated from our end for Linux-64 using Visual Studio 2019 from the below link:
http://www.syncfusion.com/downloads/support/directtrac/general/ze/publish_new-1979695479.zip
Please find the self-contained package generated from our end Linux-64 using Visual Studio 2017 from the below link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/publish1897440574.zip
Please use the shared package in Linux environment and run the sample for more reference.
Since “Syncfusion.Compression.Portable.dll” and “Syncfusion.OfficeChart.Portable.dll” are dependent of “Syncfusion.Presentation.Portable.dll”, we suspect the dependent NuGet are not restored in the Linux machine and so reported issue may occurs . To restore the NuGet packages, we suggest you use the below command, before run the project in Linux.
Thank you for contacting Syncfusion support.
We have tried to reproduce the issue, but it is working fine in our end. Please find the sample which we have tried to reproduce the issue in our end from the below link.
https://www.syncfusion.com/downloads/support/forum/145955/ze/PPTXToPDF1908334510.zip
Please find the self-contained package generated from our end for Linux-64 using Visual Studio 2019 from the below link:
http://www.syncfusion.com/downloads/support/directtrac/general/ze/publish_new-1979695479.zip
Please find the self-contained package generated from our end Linux-64 using Visual Studio 2017 from the below link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/publish1897440574.zip
Please use the shared package in Linux environment and run the sample for more reference.
Since “Syncfusion.Compression.Portable.dll” and “Syncfusion.OfficeChart.Portable.dll” are dependent of “Syncfusion.Presentation.Portable.dll”, we suspect the dependent NuGet are not restored in the Linux machine and so reported issue may occurs . To restore the NuGet packages, we suggest you use the below command, before run the project in Linux.
|
dotnet restore |
Once the NuGet are restored, run the sample with the below code in Linux.
|
dotnet packagename.dll |
Please let us know if you need further assistance in this.
Regards,
Vijayasurya A
JW
John Wong
July 19, 2019 12:27 PM UTC
Thanks for the info. I can get it working when I built the project from Linux side and create self-contained image from linux.
VA
Vijayasurya Anandhan
Syncfusion Team
July 22, 2019 06:38 AM UTC
Hi John,
Thank you for your update and confirmation.
Thank you for your update and confirmation.
Please let us know if you need further assistance in this. As always, we will be happy to assist you.
Regards,
Vijayasurya A
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
JW John Wong
- Jul 15, 2019 09:33 PM UTC
- Jul 22, 2019 06:38 AM UTC