Skip to content

Consider removing the Microsoft.Build package dependency, and the TargetGraph class. #649

@teo-tsirpanis

Description

@teo-tsirpanis

The StructuredLogger.MSBuild package depends on Microsoft.Build which is incompatible with .NET Standard 2.0 ("works" via the compatibility shim), weighs almost 4MB and brings quite many dependencies. It would be nice if we stopped depending on it.

Fortunately the only place where it is used is in TargetGraph, a class with relatively simple logic that is nowhere else used in this repro. Depending on your assessment of its importance and your appetite for breaking changes, we can:

  • Just remove it.
  • Obsolete it and remove it after a couple months/releases.
  • Do nothing.

(and thank you very much for this project, it has allowed me to pierce inside dotnet build's inner workings and helped me do lots of stuff with MSBuild!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions