Utworzono bibliotekę klas do testowania projektu ASP.NET MVC VNext.Problemy w programie Dapper i MVC VNext
W bibliotece tej klasy używam Dapper więc mam project.json:
{
"dependencies": {
"xunit": "2.1.0-beta2-*",
"xunit.runner.dnx": "2.1.0-beta2-*",
"Dapper": "1.42.0"
},
"commands": {
"test": "xunit.runner.dnx"
},
"frameworks": {
"dnx451": {
"dependencies": {
"Dapper": "1.42.0"
}
},
"dnxcore50": {
"dependencies": {
"System.Collections": "4.0.10-beta-22816",
"System.Linq": "4.0.0-beta-22816",
"Microsoft.CSharp": "4.0.0-beta-22816",
"Dapper": "1.42.0"
}
}
}
}
Wciąż otrzymuję błąd:
The type or namespace name 'Dapper' could not be found (are you missing a using directive or an assembly reference?) MvcProj.Test.DNX Core 5.0
Jak mogę rozwiązać ten problem?