A BadImageFormatException has been thrown while parsing the signature. This is likely due to lack of a generic context. Ensure ...