Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove the AndroidUseAapt2 MSBuild property #9506

Merged
merged 13 commits into from
Nov 26, 2024
Merged

Conversation

dellis1972
Copy link
Contributor

@dellis1972 dellis1972 commented Nov 12, 2024

  • Remove the AndroidUseAapt2 MSbuild property. All of the code it was protecting is now the default and users are no longer able to use aapt. So this property is redundant.
  • Update the ResolveAndroidTooling task to look for .cmd,.bat and .exe like we do other tools. While this is not needed at the moment, it is useful for unit tests since we cannot create a .cmd file and name it .exe and have it run. It also allows us the flexibility to write wrappers for the tool if needed.

@dellis1972 dellis1972 marked this pull request as ready for review November 15, 2024 09:51
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also delete?

And maybe there is some other code calling it?

@jonpryor jonpryor merged commit f0b8261 into dotnet:main Nov 26, 2024
7 of 21 checks passed
@dellis1972 dellis1972 deleted the noaapt branch November 26, 2024 18:57
@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants