title: Unable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project. (Migrations)
body: <p>I have a project with this structure <a href="https://i.stack.imgur.com/X6tSl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/X6tSl.png" alt="enter image description here"></a></p>
  
  <p>TooSeeWeb.Infrastructure is for migrations.</p>
  
  <p>When I try to run migrations with this command</p>
  
  <pre><code>dotnet ef migrations add ExampleMigration -s ..\TooSeeWeb
  </code></pre>
  
  <p>I have this error</p>
  
  <blockquote>
    <p>Unable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project. If you're using custom BaseIntermediateOutputPath or MSBuildProjectExtensionsPath values, Use the --msbuildprojectextensionspath option</p>
  </blockquote>
  
  <p>How I can fix this?</p>