Skip to content

[Feature]: Add MSBuild transitive and multi-target support #1833

Description

@chrisdrobison-fbg

Description

I'm trying to build a coding standards Nuget package for my team and I'd like to distribute CSharpier.MSBuild as the formatter, but the current package does not support being a transitive dependency. It's actually quite simple to add that support, you just need to put props/targets in buildTransitive and buildMultitargeting folders in the Nuget package. Those special folders are documented here:

https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#controlling-dependency-assets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions