Skip to content

Missing -dbProvider for Windows Scaffolding #36875

@mgoadric

Description

@mgoadric

Description

In the Razor Pages with Entity Framework Core in ASP.NET Core Tutorial, on the step for Scaffold Student pages, under the Visual Studio Code section there are two commands for calling the aspnet-codegenerator, one for Windows, one for MacOS or Linux. In the Windows version of the command, the last portion is "-sqlite" but this fails to run. Substitutiong "-dbProvider sqlite" instead, as described in the MacOS or Linux command, is successful.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-10.0&tabs=visual-studio-code

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/data/ef-rp/intro.md

Document ID

fa488196-1f98-08ea-adcc-17d9dac86727

Platform Id

c27312f0-163f-6430-cbc5-0527c212d314

Article author

@tdykstra

Metadata

  • ID: 7a54c97f-ddd4-b041-5e5f-a2df009ace50
  • PlatformId: c27312f0-163f-6430-cbc5-0527c212d314
  • Service: aspnet-core
  • Sub-service: data-access

Related Issues


Associated WorkItem - 562156

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions