I have two class library project with the following setting:
You are not able to reference:
If you want to share code between those two libraries you have to use .NET Standard libraries.
.NET Standard is a kind of interface, a versioned list of APIs that you can call, .NET Framework and .NET Core implements this standard
Please see for reference: .NET Standard