Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DbContext Scaffold The specified deps.json does not exist. #174

Open
s0AHC opened this issue Mar 4, 2024 · 2 comments
Open

DbContext Scaffold The specified deps.json does not exist. #174

s0AHC opened this issue Mar 4, 2024 · 2 comments

Comments

@s0AHC
Copy link

s0AHC commented Mar 4, 2024

Dear support team,

I cloned ant-design-blazor to local and try to work with EntityFramework Core of mysql in visual studio 2022 for an existing database.
I tried to run Scaffold-DbContext command in package management console, but pm pop-up error:
DbContext Scaffold: The specified deps.json [C:\Users<me>\source\repos\Private<projectApp><project>\bin\Debug\net8.0<project>.deps.json] does not exist.

But I tried build a new blazor web app in visual studio the Scaffold-DbContext work very well.

So, I thought this should be a bug in ant-design-blazor.

BR,
Han Zheng Rong

@JeromyCrother
Copy link

Hello, although I am not a staff member of ant design pro blazor, my experience tells you that ant design pro blazor is a front-end framework with a VNet WebAssembly structure, so it does not support SQL database connections. You need to create a new project.net Web API yourself

@ElderJames
Copy link
Member

Thank you @JeromyCrother , but the pro tmeplate supports both WASM, Server and Auto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants