From 58d4a1bfccda5ed09d766928d7e716ef02613063 Mon Sep 17 00:00:00 2001 From: Melkisedek Hamakali Date: Tue, 28 Mar 2023 16:44:33 +0200 Subject: [PATCH] Add missing required code generation package Without this tool, the command in part 2 for code generation will fail with the message below ``` To scaffold controllers and views using models, install Entity Framework core packages and try again: Microsoft.EntityFrameworkCore.Tools at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.b__6_0() at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args) at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args) ``` --- aspnetcore/includes/add-EF-NuGet-SQLite-CLI-7.md | 1 + 1 file changed, 1 insertion(+) diff --git a/aspnetcore/includes/add-EF-NuGet-SQLite-CLI-7.md b/aspnetcore/includes/add-EF-NuGet-SQLite-CLI-7.md index 478cdcd143..98333d001d 100644 --- a/aspnetcore/includes/add-EF-NuGet-SQLite-CLI-7.md +++ b/aspnetcore/includes/add-EF-NuGet-SQLite-CLI-7.md @@ -9,6 +9,7 @@ dotnet add package Microsoft.EntityFrameworkCore.Design dotnet add package Microsoft.EntityFrameworkCore.SQLite dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design dotnet add package Microsoft.EntityFrameworkCore.SqlServer +dotnet add package Microsoft.EntityFrameworkCore.Tools ``` The preceding commands add: