Summary
The Microsoft.Build.Utilities.Core NuGet package is surprisingly heavyweight, dragging dozens of transitive NuGet dependencies into the project, including bizarre things like System.Drawing.Common and a whole host of security/permissions related things, none of which feel like they have anything to do with running a simple build script. Is there any way that this could be cut down a bit?
Background and Motivation
I'm trying to use ANTLR in my project. The ANTLR code generator uses Microsoft.Build.Utilities.Core, which drags 30+ other packages along for the ride, significantly slowing down the CI build machine, because there are a lot of projects that depend on this project and so all of them get entire this transitive dependency set pulled in. Why in the world should I need all of that baggage just to build a parser?
Proposed Feature
Would it be possible to examine the dependencies and see if there are any outdated references that can be trimmed? We all know how projects that have been around for a while tend to accumulate cruft, afterall...
Alternative Designs
No response
Summary
The
Microsoft.Build.Utilities.CoreNuGet package is surprisingly heavyweight, dragging dozens of transitive NuGet dependencies into the project, including bizarre things likeSystem.Drawing.Commonand a whole host of security/permissions related things, none of which feel like they have anything to do with running a simple build script. Is there any way that this could be cut down a bit?Background and Motivation
I'm trying to use ANTLR in my project. The ANTLR code generator uses
Microsoft.Build.Utilities.Core, which drags 30+ other packages along for the ride, significantly slowing down the CI build machine, because there are a lot of projects that depend on this project and so all of them get entire this transitive dependency set pulled in. Why in the world should I need all of that baggage just to build a parser?Proposed Feature
Would it be possible to examine the dependencies and see if there are any outdated references that can be trimmed? We all know how projects that have been around for a while tend to accumulate cruft, afterall...
Alternative Designs
No response