✅ The specified deps.json does not exist while scaffolding DB
I am going through a tutorial to create a Web API app with ASP.NET6 and MySql. I wanted to scaffold my Sql Database. I entered a following command into Package Manager Console on Visual Studio 2022
`
And it only give me this error:
When I look at my bin *there is * such file sitting there. Why does this annoying error pop up? (And how did you all resolve this error?)
7 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Thank you so much! I will try this tomorrow 🙂
Not related to the question, but please check DB twice before scaffolding or you may get strange output
Ok will do. The DB is supposed to be configured properly right? Like the table is supposed to be computed already etc
Is there another positional parameter to reference "C:\path\to\deps.json"? With -DepsPath it gave me this error `
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.Sorry for not being able to come back --- and thank you so much for this. My IDE kept giving me thing after we discussed this last week. I switched my IDE from VS 2022 to Rider and I have tried to scaffold a fully computed database (with stored procedures and a lot of computed data in it). It worked finally, so I think my problem lied in the database (SQL), not the C# side