EntityFramework.Docs
EntityFramework.Docs copied to clipboard
Command for dotnet new --install is wrong
Hi, I was just following this guide. The install of the templates should be
dotnet new --install Microsoft.EntityFrameworkCore.Templates::7.0.0-*
The two -- are missing! :)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: cae415b7-c0ea-4d96-9d17-7e7d3163c09d
- Version Independent ID: cae415b7-c0ea-4d96-9d17-7e7d3163c09d
- Content: Custom Reverse Engineering Templates - EF Core
- Content Source: entity-framework/core/managing-schemas/scaffolding/templates.md
- Product: entity-framework
- Technology: entity-framework-core
- GitHub Login: @bricelam
- Microsoft Alias: avickers
I think the -- part was recently obsoleted. Maybe in 7.0? But yeah, we should make sure the command we list is compatible with .NET 6.