Microsoft.VisualStudio.Web.CodeGeneration.Design package should not be deployed
- Dominant language
- C#
- Stars
- 818
- Forks
- 260
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Description
When I scaffold an **API Controller with actions, using Entity Framework**:

I will get two packages installed which is equivalent with the following commands:
```sh
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet add package Microsoft.EntityFrameworkCore.Tools
```
In the csproj file, you will see this:
```xml
all
runtime; build; native; contentfiles; analyzers; buildtransitive
```
I think [Microsoft.VisualStudio.Web.CodeGeneration.Design](https://www.nuget.org/packages/Microsoft.VisualStudio.Web.CodeGeneration.Design/) package should only be used by design-time and shouldn't be published with the app. Is it possible install `Microsoft.VisualStudio.Web.CodeGeneration.Design` NuGet package with a `all` definition by default?
Contributor guide
Assessment
This issue has not been assessed yet.