Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILRepackEnabled Feature Property #62

Open
ricaun opened this issue Aug 25, 2024 · 0 comments
Open

ILRepackEnabled Feature Property #62

ricaun opened this issue Aug 25, 2024 · 0 comments

Comments

@ricaun
Copy link

ricaun commented Aug 25, 2024

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.

@ricaun ricaun changed the title ILRepackEnabled Feature Prope ILRepackEnabled Feature Property Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant