I try to add a reference to a class library in my Asp.net mvc 6 project. My library is MyClassLibraryExample and it is compiled with the good Framework 4.5.1
In my project.json, I have :
"frameworks": {
"dnx451": {
"dependencies": {
"MyClassLibraryExample": "1.0.0-*"
}
}
}
But it doesn't work, my class library is wrapped correctly in my solution but the reference in my dns451 does not work better ! I tied the two methods to wrap : - "Add reference" link - "dnu wrap" command
My error :
Errors in D:\Dev\TFS\team2\Cactus\CactusV3\Cactus.WebMvc6\project.json Unable to locate Dependency MyClassLibraryExample >= 1.0.0-*