This scenario might be weird. But i want to reference an existing .NET 4.5.2 class library into a new .Net Standard 1.6 class library using Nuget. I cannot see the .Net 4.5.2 class library in Nuget package store at all.
I don't want to migrate any existing projects to .Net Core but want to use them in .Net core projects.
Is it possible to achieve this? Or am i trying to achieve something which is not the purpose of .Net Core.
My project.json is as below.
{ "version": "1.0.0-*", "dependencies": { "Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0", "NETStandard.Library": "1.6.0", "AutoMapper": "5.0.2", "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0", "Microsoft.VisualStudio.clrdbg": "14.0.25520-preview-3139256" }, "tools" : { "Microsoft.EntityFrameworkCore.Tools": { "version": "1.0.0-preview2-final", "imports": [ "portable-net45+win8+dnxcore50", "portable-net45+win8" ] } }, "frameworks": { "netstandard1.6": { "imports": [ "dnxcore50", "net452" ] } } } UPDATE :
I added net452 section under frameworks. Then i am getting Cannot Resolve errors for few packages already installed. PFA screenshot.
Is there anyway i can force this to to work .
