Skip to content

Would it be possible to condition the build-only PackageReferences? #1421

@baronfel

Description

@baronfel

Hi! I am trying to get Spectre.Console added to the dotnet/source-build-externals repo so that the SDK and MSBuild can take references to it in ways that work with our Linux Source Build partners' support lifecycles. As a part of that, I have a patch that comments out a number of build-metadata-related packages, but patches like this are fragile. Would you all be amenable to a solution where a property is checked in a Condition on this ItemGroup, and then the source-build-externals build of Spectre.Console could pass that property? If so, I'd be happy to contribute that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done 🚀

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions