title: The type or namespace name 'Application User' could not be found
body: <p>I am new to C# and I'm currently creating an ASP.NET MVC application. I am currently getting the error stated above when attempting to follow the instructions found here: <a href="https://stackoverflow.com/questions/25394571/extending-asp-net-identity">Extending ASP.NET Identity</a></p>
  
  <p>I am trying to get my code to show a user's first name rather than their email address once they are logged in.</p>
  
  <p>Here is my code for _LoginPartial.cshtml</p>
  
  <pre><code>@using Microsoft.AspNet.Identity
  @if (Request.IsAuthenticated)
  {
      using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
      {
      @Html.AntiForgeryToken()
  
      &lt;ul class="nav navbar-nav navbar-right"&gt;
          &lt;li&gt;
              @{
                  var manager = new UserManager&lt;ApplicationUser&gt;(new Microsoft.AspNet.Identity.EntityFramework.UserStore&lt;ApplicationUser&gt;(new ApplicationDbContext()));
                  var currentUser = manager.FindById(User.Identity.GetUserId());
              }
              @Html.ActionLink("Hello " + currentUser.FName + "!", "Index", "Manage", routeValues: null, htmlAttributes: new { title = "Manage" })
          &lt;/li&gt;
          &lt;li&gt;&lt;a href="javascript:document.getElementById('logoutForm').submit()"&gt;Log off&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      }
  }
  else
  {
      &lt;ul class="nav navbar-nav navbar-right"&gt;
          &lt;li&gt;@Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })&lt;/li&gt;
          &lt;li&gt;@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })&lt;/li&gt;
      &lt;/ul&gt;
  }
  </code></pre>
  
  <p>Here is my ApplicationUser class found within IdentityModels.cs</p>
  
  <pre><code>public class ApplicationUser : IdentityUser
  {
      public string FName { get; set; }
      public string LName { get; set; }
  
      public async Task&lt;ClaimsIdentity&gt; GenerateUserIdentityAsync(UserManager&lt;ApplicationUser&gt; manager)
      {
          // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType
          var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie);
          // Add custom user claims here
          return userIdentity;
      }
  }
  </code></pre>
  
  <p>Any advice would be greatly appreciated</p>