Skip to content

ILRepackEnabled Feature Property #62

@ricaun

Description

@ricaun

Hello,

I wonder if there are some possibility to enable the targets using some propriety like: ILRepackEnabled

I know by default if the Configuration contains Release the targets is enabled, I kinda need to enable in others configuration like in the debug for example.

Something like this would make sense in the main ILRepack.Lib.MSBuild.Task.targets.

<ILRepackEnabled Condition="$(ILRepackEnabled) == '' and $(Configuration.Contains('Release'))">true</ILRepackEnabled>

Adding that with the other configuration.
https://github.com/ravibpatel/ILRepack.Lib.MSBuild.Task/blob/b843b2b7c78318f4040a63dc45fd6c10596c4d4f/ILRepack.Lib.MSBuild.Task/ILRepack.Lib.MSBuild.Task.targets#L4C1-L6C21

And the ILRepackEnabled could be used to disable/enable the default Targets.

I could create a PR if that makes sense of the project.

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