I eventually found the answer in this question. Basically, in the Package Manager Console there’s a “Default project” dropdown. You need to set this to the project that contains your EF context.
I eventually found the answer in this question. Basically, in the Package Manager Console there’s a “Default project” dropdown. You need to set this to the project that contains your EF context.