title: You must add a reference to assembly mscorlib, version=4.0.0
body: <p>I'm having some trouble migrating a web project from RC1 to RC2. When I switched, I'm getting a bunch of these errors throughout the project.</p>
  
  <blockquote>
    <p>The type 'Func&lt;,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'</p>
  </blockquote>
  
  <p>Looks like all of the linq functions and lambda expressions are not working.</p>
  
  <p>This is what my <code>project.json</code> file looks like:</p>
  
  <pre><code>  "frameworks": {
      "netcoreapp1.0": {
        "dependencies": {
          "System.Linq": "4.1.0-rc2-24027"
        },
        "imports": [ "net451", "portable-net45+win8" ]
      }
    },
    "dependencies": {
      "NETStandard.Library": "1.5.0-rc2-24027",
      "Microsoft.EntityFrameworkCore": "1.0.0-rc2-final",
      "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-rc2-final",
      "System.ComponentModel.Annotations": "4.1.0-*"
    }
  </code></pre>
  
  <p>Any ideas what this means? I've tried running <code>dotnet restore</code>, did not help. </p>