Scaffolding in .Net Core with Multiple Projects in Solution
<p>I have created an .Net Core MVC6 application targeting net461.  I have used a project structure I am very familiar with in which I place the data, model, and service classes in separate class library projects and the Web project references these.  </p>

<p>When I attempt to scaffold a controller I receive an error that multiple matching types exist for the model I am scaffolding.  </p>

<p>If I move all code to a single project, scaffolding is successful.  If I move the context to Web project and leave the model in a separate project, I receive an error the NO matching types were found.  </p>

<p>Has anyone else seen this same issue?  Is there a workaround to still use this type of architecture?</p>

<p><strong>Update</strong></p>

<p>I started another project and always get this issue.  I get this error when only using 1 extra project for the models. Attached is the error I recieve.</p>

<p><a href="http://i.stack.imgur.com/O9uzt.png" rel="nofollow">Scaffolding Error</a></p>

<p><strong>Update 2</strong></p>

<p>When the context and model are in the same project I receive this error.</p>

<p><a href="http://i.stack.imgur.com/GAWXG.png" rel="nofollow">Error editing dbContext</a></p>