I created a new asp.net core 2.0 mvc web application using Visual Studio 2017.
It has a link to the NuGet package "Microsoft.VisualStudio.Web.CodeGeneration.Design" (2.0.0), which is apparently required if I want to be able to view / control the scaffold. (The function I need)
When I publish my web application, I would not expect to see what (it seems) a development dependency is published in my output folder ... and yet I have a bunch of assemblies like
Microsoft.VisualStudio.Web.CodeGeneration.dll, Microsoft.VisualStudio.Web.CodeGeneration.Templating.dll, Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll
and etc.
Am I doing something wrong ?: How can I reduce all these additional dlls? There is one (Microsoft.CodeAnalysis.Workspaces.dll), which is ~ 2Mb!
source
share