dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.62k stars 1.96k forks source link

Command for dotnet new --install is wrong #4100

Open luetm opened 1 year ago

luetm commented 1 year ago

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.

bricelam commented 1 year ago

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.