title: EF Core Migration: Could not load assembly 'AssemblyName'
body: <p>The command "Add-Migration InitialCreate" generates the following error message:</p>
  
  <blockquote>
    <p>Could not load assembly 'MathModelApp'. Ensure it is referenced by the startup project 'MathModelApp'.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/9HGGd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9HGGd.jpg" alt="enter image description here"></a></p>
  
  <p>What does the error message mean?</p>
  
  <p>I am using netcore 2.1, Target Platform is x86.</p>