title: cs7003 unexpected use of an unbound generic name
body: <p>I'm getting this error in Visual Studio:</p>
  
  <blockquote>
    <p>Error CS7003  Unexpected use of an unbound generic name   MyProject
    C:\Users[myname]\documents\visual studio
    2015\Projects....\Index.cshtml   1</p>
  </blockquote>
  
  <p>The offending file is right here (line 1 error is the reference to the model declaration):</p>
  
  <pre><code>@model MyProject.Models.MyAccount.Details
  @{
      ViewBag.Title = "Index";
      Layout = "~/Views/Shared/_PrimaryLayout.cshtml";
  }
  &lt;!-- Page Content --&gt;
  &lt;div class="container"&gt;
  .... more page stuff follows from here
  </code></pre>
  
  <p>The model class is as follows:</p>
  
  <pre><code>namespace MyProject.Models.MyAccount
  {
      public class Details
      {
          public static Details Select(Company c)
          {
              Details model = new Details();
              model.SomeProperty = "SomeValue";
  
  
              return model;
          }
  
          public String SomeProperty { get; set; }
      }
  }
  </code></pre>
  
  <p>The weird thing is that cleans don't make it go away, rebuilds leave it there, and I build/debug just fine. </p>