Friend assembly reference 'reference' is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.
A strong name signed assembly can only grant friend assembly access, made with the InternalsVisibleToAttribute, to other strongly signed assemblies.
To resolve XS1726, either sign (give a strong name to) the assembly to which you want to grant friend access, or don't grant friend access.
For more information, see Friend Assemblies.
The following sample generates XS1726.
// Save this code as XS1726.prg