"The type or namespace name could not be found" in ASP.NET Core 1.0 RC2
<p>I'm currently trying ASP.NET Core 1.0 RC2. I've created it as a .NET Framework project (as opposed to a .NET Core project) and added references to our <code>Models</code> library, using .NET Framework 4.5, via a project reference:</p>

<pre><code>"frameworks": {
  "net46": {
    "dependencies": {
      "Project.Core": {
        "target": "project"
      },
      "Project.DataAccess": {
        "target": "project"
      },
      "Project.Encryption": {
        "target": "project"
      },
      "Project.Models": {
        "target": "project"
      },
      "Project.Resources": {
        "target": "project"
      }
    }
  }
},
</code></pre>

<p>Now when adding a model directive to my view, the following error occurs:</p>

<pre><code>@model System.Collections.Generic.List&lt;Project.Models.User&gt;

The type or namespace name 'Project' could not be found (are you missing a using directive or an assembly reference?)
    public class _Views_Home_Index_cshtml : Microsoft.AspNetCore.Mvc.Razor.RazorPage&lt;System.Collections.Generic.List&lt;Project.Models.User&gt;&gt;
The type or namespace name 'Project' could not be found (are you missing a using directive or an assembly reference?)
        public Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper&lt;System.Collections.Generic.List&lt;Project.Models.User&gt;&gt; Html { get; private set; }
</code></pre>

<p>It also displays in intellisense: <em>Cannot resolve tag 'Project.Models.User'</em> and <em>Cannot resolve symbol 'model'</em></p>

<p>I have added a project reference, added a using statement... Still this error occurs. Why is that?</p>