If you're getting build failed running "Scaffold-DbContext" (as shown below)
Then you need to ensure that your entire project build successfully. Not just the project that you're working on.
Once you have your project errors all fixed, continue running the scaffold command.
Comments