DynamicPDF Generator for .NET (v10.x) Forum

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /   DynamicPDF Generator for .NET (v10.x) Forum

DynamicPDF CoreSuite for .NET (v10) Forum

Posted by a ceTe Software moderator
Welcome to the all new forum dedicated to DynamicPDF Generator for .NET (v10.x). This forum was released in July 2018 and should be used for any support questions or discussions related to the DynamicPDF Generator for .NET (v10.x) product. This forum will also be monitored by our support staff.
I'm testing v10x against Target framework .NET Core 2.1
I'm only using the Generator feature.

Starting with the sample that is provided in the download:
Examples\Visual Studio\Console\Console_CSharp\Generator_HelloWorld_CSharp

I started a new VS project (.Net Core console app) using VS 2017 (v15.7.4)
Copied the HelloWorld class from the example and pasted it into my project.
I made a reference to DynamicPDF.NETFramework20.dll (version 10.1.0.36750)
I installed NuGet package System.Configuration.ConfigurationManager

I get an exeption when it gets to this line:
document.Draw( "HelloWorld.pdf" );

Could not load file or assembly 'System.Security.Cryptography.Pkcs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

---
Anyone know what this exception is?
Could someone provide a working HelloWorld (Generator) app using .Net Core 2.1?
Thanks.
Posted by a ceTe Software moderator
Hello,

DynamicPDF.NETFramework20.dll targets .NET Framework 2.0 and won’t work in .NET Core projects. For .NET Core projects, please reference DynamicPDF.NETStandard20.dll. Here is the help documentation link that has more information on the product’s dlls and the platforms they target.

Thanks,
ceTe Software Support Team.


All times are US Eastern Standard time. The time now is 4:45 AM.