I think 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 <PrivateAssets>all</PrivateAssets> definition by default?
When I scaffold an API Controller with actions, using Entity Framework:
I will get two packages installed which is equivalent with the following commands:
In the csproj file, you will see this:
I think 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<PrivateAssets>all</PrivateAssets>
definition by default?