System.NotSupportedException

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Merger for .NET (v4)  /  Re: System.NotSupportedException

DynamicPDF Merger for .NET (v4) Forum

 Apr 08 2020 11:42 AM
Hi

We have been using ceTe.DynamicPDF.Viewer version 1.0.2 for a long time, but after upgrading our solution to .Net 4.7 it failed with exception  - System.NotSupportedException: 'The invoked member is not supported in a dynamic assembly.'  -  at line 
 
ceTe.DynamicPDF.Viewer.PdfViewer.AddLicense("....")

Update to DynamicPDF.Viewer.NETFramework40.x86.dll veersion 3.3 did not help.

Is it possible to use DynamicPDF.Viewer with .net 4.7 and what should be done to avoid System.NotSupportedException?
 Apr 08 2020 1:29 PM
Posted by a ceTe Software moderator
Hello,

We tested this on our end and are unable to recreate the error. Version 3.x of DynamicPDF Viewer for .NET supports v4.x of the .NET framework.  We have separate DLL files for each .NET framework version and target platform (x86 or x64). Make sure to reference the correct DLL file as per the .NET framework version and target platform set for the application. You can refer to the documentation on .NET framework support here.

If you continue having issues, please send over the following information to support@dynamicpdf.com so we can look into it further.

1.        Simple windows form application which uses static data to recreate the error.
2.        Steps to recreate the error.
3.        Full error message along with stack trace.
4.        Exact version and build number of the DynamicPDF Viewer DLL file used in the application. You can get this information in DLL references properties (Version and Description fields) in Visual Studio.

Thanks,
ceTe Software Support Team
 Apr 09 2020 3:52 AM
Hi

Seems that the problem was caused by cache on my PC - works now after manual removing bin and obj folders and cleaned Visual Studio cache.

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