Could not load type 'System.Net.ICertificatePolicy'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi,

I am trying to upgrade my website from nopCommerce 3.8 to nopCommerce 4.1.

One of my plugins uses a .NET assembly called Payflow_dotNet.dll. This assembly is built on .NET 2.0, since it was created in 2009. When I add this assembly, I get this error:

System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types.
Could not load type 'System.Net.ICertificatePolicy' from assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'

What are the next steps?
5 years ago
Hi,

I used Telerik JustDecompile to take apart the assembly. I found out a file required that interface. I removed the file. I created a .NET Core class library and I moved the code. It now works.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.