title: There is no implicit reference conversion from ApplicationUser to Microsoft.AspNet.Identity.EntityFramework.IdentityUser
body: <p>I am trying to experiment and pass a custom IdentityUser on UserStore on it's generic argument.
  So I inherited the IdentityUser and implement all the required interface with it's required generic argument.</p>
  <pre><code>using Microsoft.AspNet.Identity;
  using Microsoft.AspNet.Identity.EntityFramework;
  using System;
  
  class Program
  {
      static void Main(string[] args)
      {
          var userStore = new UserStore&lt;AppUser&gt;(); //This is line that's triggering the error. AppUser has inherited all IdentityUser requirements, but I am not sure what I am missing here.
      }
  }
  </code></pre>
  <p>AppUser has the following implementations:</p>
  <pre><code>public class AppUser : IdentityUser&lt;int, AppLogin, AppRole, AppClaim&gt;
  {
  
  }
  
  public class AppLogin : IdentityUserLogin&lt;int&gt;
  {
  
  }
  
  public class AppRole : IdentityUserRole&lt;int&gt;
  {
  
  }
  
  public class AppClaim : IdentityUserClaim&lt;int&gt;
  {
  
  }
  </code></pre>
  <p>But the problem is, it is not building successfully because of this error:</p>
  <blockquote>
  <p>Error CS0311  The type 'CustomIdentity.AppUser' cannot be used as type parameter 'TUser' in the generic type or method 'UserStore'. There is no implicit reference conversion from 'CustomIdentity.AppUser' to 'Microsoft.AspNet.Identity.EntityFramework.IdentityUser'.</p>
  </blockquote>
  <p>I have checked this post: <a href="https://stackoverflow.com/questions/38172807/there-is-no-implicit-reference-conversion-from-applicationuser-to-identityuser">There is no implicit reference conversion from ApplicationUser to IdentityUser</a> but it's IdentityUser is not the customize as I am doing on my code.</p>