Tools: Improve message "Could not load assembly 'EFCore.Design'." #8354
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
There are a handful of ways you can encounter the following exception when using the tools, but the error doesn't provide any hints as to why you might be hitting it or what you can do to fix it.
We should catch it and re-throw a more helpful message.
A few reasons I've seen people hitting it:
Microsoft.EntityFrameworkCore.Design
(orTools
) installed in their startup project.packages.config
and even thoughMicrosoft.EntityFrameworkCore.Design
is referenced transitively, MSBuild won't copy it into the output directory unless you reference it directly.The text was updated successfully, but these errors were encountered: