Friend access was denied to '|1'. If you want the compiler to consider friend types in '|1', add the public key information ...

Friend access was denied to '|1'. If you want the compiler to consider friend types in '|1', add the public key information in the project settings or through a command-line switch to the compiler for the project '|2'.