Skip to content

Add support for SuppressDependenciesWhenPacking for compatibility with SDK pack #67

@kzu

Description

@kzu

From NuGet/Home#6354, the SuppressDependenciesWhenPacking property can turn off package reference and framework reference dependencies inference in SDK pack.

NuGetizer offers more granularity for this, via:

  • PackFrameworkReferences: to ignore framework references
  • %(PackageReference.Pack): to ignore specific package references.

So perhaps a compatibility behavior would be to set the following if SuppressDependenciesWhenPacking==true:

  • If PackFrameworkReferences == '', set it to false
  • Set %(PackageReference.Pack) = false if empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions