Deployments Missing DLLs

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v11)  /  Deployments Missing DLLs

DynamicPDF CoreSuite for .NET (v11) Forum

 Mar 18 2021 3:28 PM
Updated some projects to NET 5.0 today and am having an issue getting them to include DynamicPDF DLLs during build. Referencing ceTe.DynamicPDF.CoreSuite.NET v11.8.0 from NuGet.  Are the DLLs not included by default?

Error 1:
Unable to load DLL 'DPDFRenderNative_x64' or one of its dependencies: The specified module could not be found. (0x8007007E)

If I manually move that file to bin, I then get error:
Could not load file or assembly 'DynamicPDF.NETStandard20, Version=10.24.0.40649, Culture=neutral, PublicKeyToken=09b5ce0d5c0a9d8b'
 Mar 18 2021 4:21 PM
This was my fault, had a package still referencing a .net standard lib.
 Mar 19 2021 9:53 AM
Actually am facing an issue that I am unsure on how to resolve. I am referencing a library that references ceTe Rasterizer 3.12.0, but the DPDFRenderNative DLLs are not being included into my project. If I directly reference the Rasterizer from NuGet, it includes the files. Any idea what this might be? I see that the DynamicPDF.Rasterizer.NETStandard20.dll is built with the project, is this a .NET 5 issue? If I manually copy the DPDFRenderNative dll files, it works as expected.
 Mar 19 2021 10:35 AM
Posted by a ceTe Software moderator
Hello,
 
If you install the DynamicPDF.Rasterizer.NET package from NuGet, the package handles referencing all required assemblies. This is the reason why you are seeing native DLLs added to the respective folder of application.
 
If you reference a DLL file manually in your application then you will need to place respective native DLL file along with Rasterizer DLL.  Referencing a DLL manually will not add the respective native DLL file.
 
Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 12:34 PM.