I have a project with a method that uses a DLL from another project. It used to work just fine, but now when I try to execute that method, I get the exception:
System.BadImageFormatException: 'Could not load file or assembly 'MyLibrary, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null'. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)'
The project file looks like this:
How do I fix this problem?