Troubleshooting Exceptions: System.Security.VerificationException 

A VerificationException exception is thrown when the security policy requires code to be type-safe and the verification process is unable to verify that the code is type-safe.

Associated Tips

  • Make sure your application is not loading two conflicting versions of a class library.
    As part of the verification process, MSIL (Microsoft intermediate language) is checked for type safety to ensure that objects are safely isolated from one another and are therefore safe from inadvertent or malicious corruption. For more information, see Compiling MSIL to Native Code and Type Safety and Security.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant

Reference

VerificationException
SkipVerification