BC31535: 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.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for