I run the following command in Package Manager in Visual Studio 2019 and a ASP.NET Core 5 project:
Scaffold-DbContext "Server=(local);Database=MyDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Entities -Context ApplicationDbContext
After a little time, this error appears:
The specified deps.json [C:\WorkingFolder\Projects\MyProject\MyProject.deps.json] does not exist
Notice that the deps.json file is being searched in project root, not under bin folder such as other posts I have found here, so by deleting bin and obj folder does not help.
How to solve it?
I am able to solve the same issue by setting the project contains the EF core files as a startup project.