title: "Dependency could not be resolved" for Asp.Net Core proj referencing EntityFramework 6.1.3 proj
body: <p>I have the following project structure:</p>
  
  <blockquote>
    <p>Proj.sln</p>
    
    <ul>
    <li>Proj.Core (xproj lib, references: nothing)</li>
    <li>Proj.Services (xproj lib, referencs: core, data)</li>
    <li>Proj.Data (csproj lib, references: core)</li>
    <li>Proj.Bootstrapper (xproj lib references: everything)</li>
    <li>Proj.WebApi (xproj lib, references: core, services)</li>
    </ul>
  </blockquote>
  
  <p>I have moved the project to Asp.Net Core, but still rely on the full Entity Framework - version 6.1.3. To achieve this, I am following <a href="https://docs.microsoft.com/en-us/aspnet/core/data/entity-framework-6" rel="nofollow noreferrer">this example.</a>
  The xproj class libraries that rely on a reference to Proj.Data, all have the below framework attribute in project.json:</p>
  
  <pre><code> "frameworks": {
      "net452": {
        "dependencies": {
          "Proj.Data": {
            "target": "project"
          }
        }
      }
    },
  </code></pre>
  
  <p>However, when I build a project depending on Proj.Data, such as Proj.Bootstrapper, I am getting the following error:</p>
  
  <p><em>Error  NU1001  The dependency Proj.Data could not be resolved.</em></p>
  
  <p>Here is Bootstrapper's project.json:</p>
  
  <pre><code>{
    "buildOptions": {
      "emitEntryPoint": false,
      "xmlDoc": false
    },
    "dependencies": {
      "EntityFramework": "6.1.3",
      "Autofac.Extensions.DependencyInjection": "4.0.0",
      "Newtonsoft.Json": "9.0.1",
      "Proj.Core": "1.0.0-*",
      "Proj.Services": "1.0.0-*",
      "Proj.WebApi": "1.0.0-*",
      "Microsoft.AspNetCore.Authentication.JwtBearer": "1.1.0",
      "Microsoft.AspNetCore.DataProtection.Extensions": "1.1.0",
      "Microsoft.AspNetCore.Diagnostics": "1.1.0",
      "Microsoft.AspNetCore.Identity": "1.1.0",
      "Microsoft.AspNetCore.Mvc": "1.1.0",
      "Microsoft.AspNetCore.Routing": "1.1.0",
      "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
      "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
      "Microsoft.Extensions.Configuration": "1.1.0",
      "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
      "Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
      "Microsoft.Extensions.Configuration.Json": "1.1.0",
      "Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
      "Microsoft.Extensions.Logging": "1.1.0",
      "Microsoft.Extensions.Logging.Console": "1.1.0",
      "Microsoft.Extensions.Logging.Debug": "1.1.0",
      "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
      "System.IdentityModel.Tokens.Jwt": "5.1.0"
    },
    "frameworks": {
      "net452": {
        "dependencies": {
          "Proj.Data": {
            "target": "project"
          }
        }
      }
    },
    "version": "1.0.0-*"
  }
  </code></pre>
  
  <p>And, for what it is worth, my project.config in my Proj.Data project:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;packages&gt;
    &lt;package id="EntityFramework" version="6.1.3" targetFramework="net452" /&gt;
  &lt;/packages&gt;
  </code></pre>
  
  <p>Also worth mentioning is that I downgraded my Proj.Data framework from net46 to net452 as the compiler was complaining. </p>
  
  <p>Guidance appreciated. Thanks in advance.</p>