title: .net core - FileNotFoundException: Could not load file or assembly 'System.ComponentModel.DataAnnotations
body: <p>I have created an ASP.NET Core Web Application(.Net Core)</p>
  
  <p>I have used following to import my existing dlls using single NuGet package.</p>
  
  <pre><code>"frameworks": {
  "netcoreapp1.0": {
    "imports": [
      "dotnet5.6",
      "net451",
      "portable-net45+win8"
    ]
  }
  </code></pre>
  
  <p>},</p>
  
  <p>All my dlls are built up on .net framework 4.0. and one of the dlls references System.ComponentModel.DataAnnotations.dll(4.0.0.0)</p>
  
  <p>When I run the project I am getting FileNotFoundException.</p>
  
  <p>Following is an error message- </p>
  
  <p>FileNotFoundException: Could not load file or assembly 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.</p>
  
  <p>What am I missing?</p>