I'm trying to create my first ASP.NET 5 Web Api project. I need to add a previously create class library as a reference. So I go References -> Add reference and add the appropriate project. Unfortunately the reference is still unresolved.
Seems like it happens cause the reference goes to DNX 4.5.1 but not DNX Core 5.0. And in project.json it goes not to root dependencies
but to frameworks:
"frameworks": {
"dnx451": {
"dependencies": {
"MyLibrary": "1.0.0-*"
}
},
"dnxcore50": { }
},
What should I do to my library to make it compatible to ASP.NET 5?