MultiProtcolFrameParser Creation getting failed

Hello,

I am trying to use GSF.PhasorProtocols in my application to analyze the IEE1344 and C37.118 protocol packets.

When I am trying to create the object of MultiProtocolFrameParser, I am getting following exception.

May I know is there something that i am missing?


Thanks & Regards
Krishna

Hello Krishna,

It’s the NotSupportedException described on the following page.
https://msdn.microsoft.com/en-us/library/system.reflection.assembly.getexportedtypes(v=vs.110).aspx

The ABB.TEEN.Base.AssemblyLoader that gets cut off at the end of the stack trace there is probably attaching to the AppDomain.AssemblyLoad and/or the AppDomain.AssemblyResolve event. The code in that event handler is calling the GetExportedTypes() method on a dynamic assembly, which is not supported.

To resolve it, you may find this useful.
https://msdn.microsoft.com/en-us/library/system.reflection.assembly.isdynamic(v=vs.110).aspx

Thanks,
Stephen

Hello StephenCWills.

Thanks for the quick response!

The suggestion in the links helped me to resolve the issue.

Thanks,
Krishna