title: Problems in Dapper and MVC VNext
body: <p>I created an class library for tests of an ASP.NET MVC VNext project.</p>
  
  <p>In this class library I am using Dapper so I have the project.json:</p>
  
  <pre><code>{
  
    "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"
        }
      }
  
    }
  }
  </code></pre>
  
  <p>I keep getting the error:</p>
  
  <pre><code>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   
  </code></pre>
  
  <p>How can I fix this?</p>