Tuesday, January 3, 2023

exception has been thrown by the target of an invocation in c#

 changes dll version or upgrade dll .. change old dll library to new dll library

...\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll