on-internet
← Community

deps.json file is not found in project root folder

Stack Overflow ·

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?

Comments

Sign in or sign up to comment and upvote.

No comments yet.