I\'m trying to generate classes from a database (EntityFramework\'s database first approach).
For convenience, I\'m more or less walking along with this tutorial: ht
If entity-framework returns build failed, most probably you have some kind of error in any of your projects.
Even if the project you are running the command on, is clean and error-free, other projects in that solution can cause the build failed response.
Solution
Default project drop-down inside Package Manager Console