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:
An assembly specified in the application dependencies manifest (ConsoleApp1.deps.json) was not found:
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.
Once the NuGet are restored, run the sample with the below code in Linux.
Please let us know if you need further assistance in this.
Regards, Vijayasurya A
JWJohn WongJuly 19, 2019 07:27 AM
Thanks for the info. I can get it working when I built the project from Linux side and create self-contained image from linux.
VAVijayasurya Anandhan Syncfusion Team July 22, 2019 01:38 AM
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.