Skip to content

[Feature Request]: Can the transitive dependencies be reduced any? #9389

Description

@masonwheeler

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions