Expand Minimize

Friend assembly reference <reference> is invalid

Friend assembly reference <reference> is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.

The assembly name passed to the InternalsVisibleToAttribute attribute constructor identifies a strong-named assembly, but it does not include a PublicKey attribute.

Error ID: BC31535

To correct this error

  • Determine the public key for the strong-named friend assembly. Include the public key as part of the assembly name passed to the InternalsVisibleToAttribute attribute constructor by using the PublicKey attribute.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft