When i run the code below that error appears.
using YaraSharp;
YSInstance YSInstance = new YSInstance();
System.BadImageFormatException: ‘Could not load file or assembly ‘YaraSharp, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null’. Format of the executable (.exe) or library (.dll) is invalid.’
Unhandled exception. System.BadImageFormatException: Could not load file or assembly ‘YaraSharp, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null’. Format of the executable (.exe) or library (.dll) is invalid.
File name: ‘YaraSharp, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null’
at Program.$(String[] args)
If you guys can find a solution to it.
I tried reinstalling and it didnt work. I dont know how to fix it.
Abid Raza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.