Missing method .ctor in assembly /home/dvimay11/USBCamInfoNew/Debug/System.Management.dll, type System.Reflection.AssemblySignatureKeyAttribute Can't find custom attr constructor image: /home/dvimay11/USBCamInfoNew/Debug/System.Management.dll mtoken: 0x0a000009 Unhandled Exception: System.TypeLoadException: Could not load type 'System.Reflection.AssemblySignatureKeyAttribute' from assembly 'System.Management'. at USBCamInfo.USBInfo.GetUSBDevices () [0x00000] in <filename unknown>:0 at USBCamInfo.USBInfo.LoadUSBInfo () [0x00000] in <filename unknown>:0 at USBCamInfo.USBInfo..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) USBCamInfo.USBInfo:.ctor () at USBCamInfo.Program.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'System.Reflection.AssemblySignatureKeyAttribute' from assembly 'System.Management'. at USBCamInfo.USBInfo.GetUSBDevices () [0x00000] in <filename unknown>:0 at USBCamInfo.USBInfo.LoadUSBInfo () [0x00000] in <filename unknown>:0 at USBCamInfo.USBInfo..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) USBCamInfo.USBInfo:.ctor () at USBCamInfo.Program.Main () [0x00000] in <filename unknown>:0
Can anyone help me to fix this issue. I wanted to know how i can run my Dot Net exe on a Linux machine using the System.Management Namespace to retrieve information of USB Device
Thanks