Skip to content

When PackagePath is specified, assume Pack=true #14644

@kzu

Description

@kzu

NuGet Product(s) Involved

NuGet SDK

The Elevator Pitch

Currently, whenever you want to pack a None item, you must specify both PackagePath AND Pack=true.

There's no scenario I can think of where PackagePath would have a value and I wouldn't want Pack=true at the same time. Perhaps I'm missing something.

Just make it so that if there's a PackagePath specified, Pack defaults to True so I can avoid the clutter.

Additional Context and Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking-ChangeLabel for .NET SDK breaking changes.Functionality:PackPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Type:DCRDesign Change Request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions