I am trying to create my first ASP.NET 5 Web Api project. I need to add a previously created class library as a reference. Therefore, I go to the links -> Add a link and add the corresponding project. Unfortunately, this link is still unresolved.
This seems to be happening because the link refers to DNX 4.5.1, but not DNX Core 5.0. And in project.json, this goes not to root dependencies, but to frameworks:
"frameworks": {
"dnx451": {
"dependencies": {
"MyLibrary": "1.0.0-*"
}
},
"dnxcore50": { }
},
What should I do with my library to make it compatible with ASP.NET 5?
source
share