I have a .NET Core Class Library created in VS2017. I need to reference an assembly build against .NET 4.5.2. When I add the reference, I receive the following error:
Error CS0012 The type 'Object' is defined in an assembly that is not
referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0
When I try to add the reference via VS, I can see no sources to find it:
Similar question has been already asked here and described here but the answers described how extend the project.json
file which is obsolete now and does not appear in VS2017.