title: Your target project 'x' doesn't match your migrations assembly 'xx'. Either change your target project or change your migrations assembly
body: <p>.net core 3.0.
  I have a  LibraryProject(SyWaterStandardLibrary), There's a DbContext.When I build new WebProject(WebApplicationTestLibrary) and using LibraryProject.</p>
  
  <p>Startup:</p>
  
  <pre><code>  services.AddDbContext&lt;LocalContext&gt;(options =&gt;
                  options.UseSqlServer(Configuration.GetConnectionString("SMS"), 
                  optionsBuilder =&gt; optionsBuilder.MigrationsAssembly("WebApplicationTestLibrary"))
                 );
  </code></pre>
  
  <p>When I execute: <code>add-migration init -context localcontext</code></p>
  
  <blockquote>
    <p>An error has occurred:Your target project 'WebApplicationTestLibrary'
    doesn't match your migrations assembly 'SyWaterStandardLibrary'.
    Either change your target project or change your migrations assembly.</p>
  </blockquote>
  
  <p>This exception does not exist in .net core 2.2.
  What's the matter, please.</p>
  
  <p>Edit 1:
  <a href="https://i.stack.imgur.com/BNK5q.png" rel="noreferrer">WebApplicationTestLibrary</a></p>
  
  <p><a href="https://i.stack.imgur.com/AGJAU.png" rel="noreferrer">SyWaterStandardLibrary</a></p>