A type '{0}' that is defined in a partially trusted assembly cannot be type forwarded from an assembly with a different Public ...

A type '{0}' that is defined in a partially trusted assembly cannot be type forwarded from an assembly with a different Public Key Token or without a public key token. To fix this, please either turn on unsafeTypeForwarding flag in the configuration file or remove the TypeForwardedFrom attribute.