deps.json does not exist in ASP.NET Core 2

1.7k views Asked by At

I'm creating a new project DB First in ASP.NET Core 2 with Razor Pages and when I try to generate the code from the existing DB -

Scaffold-DbContext "Server=server\V;Database=tblIssues;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

I receive this error -

The specified deps.json [filepath] does not exist.

I've checked the file path and the deps.json file does exist. Is this related to permissions ?

How can I fix this?

0

There are 0 answers