Remove manual package installations from VS tab (#28636)

pull/28624/head
Tom Dykstra 2023-03-10 10:42:52 -08:00 committed by GitHub
parent e5b2c32b68
commit 8e75587013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 21 deletions

View File

@ -58,27 +58,7 @@ The question mark after `string` indicates that the property is nullable. For mo
# [Visual Studio](#tab/visual-studio)
From the **Tools** menu, select **NuGet Package Manager** > **Package Manager Console** (PMC).
![PMC menu](~/tutorials/first-mvc-app/adding-model/_static/pmc5.png)
<!--
This has been fixed, need to test and see what's required.
see https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1323715
When https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1320544 is fixed, we can remove the following install package instruction for Microsoft.EntityFrameworkCore.Design -->
In the PMC, run the following commands:
```powershell
Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design
Install-Package Microsoft.EntityFrameworkCore.Design
Install-Package Microsoft.EntityFrameworkCore.SqlServer
```
The preceding commands add:
* The EF Core SQL Server provider. The provider package installs the EF Core package as a dependency.
* The utilities used by the packages installed automatically in the scaffolding step, later in the tutorial.
Visual Studio automatically installs the required packages.
# [Visual Studio Code](#tab/visual-studio-code)