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

Remove call to CollectAssemblyFilesForArchive for Fast Deployment. #9650

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

dellis1972
Copy link
Contributor

Commit 6b91b04 split up the BuildApk task into their own Tasks to improve build performance. In that change the call to CollectAssemblyFilesForArchive was a no-op if EmbedAssembliesIntoApk was set to False. However it was still being called in the _BuildApkFastDev target, even though it had a condition which would skip the target entirely if EmbedAssembliesIntoApk was False.

So lets remove the call to CollectAssemblyFilesForArchive from _BuildApkFastDev completely. We can also remove the EmbedAssemblies property from the CollectAssemblyFilesForArchive task as it is no longer needed.

@dellis1972 dellis1972 requested review from jpobst and removed request for jonathanpeppers January 6, 2025 18:00
@dellis1972
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@jpobst jpobst left a comment

Choose a reason for hiding this comment

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

This seems good. One thing to consider for the future is if we can combine _BuildApkEmbed and _BuildApkFastDev, as ~95% of it is duplicated.

Commit 6b91b04 split up the BuildApk task into their own Tasks to
improve build performance. In that change the call to
`CollectAssemblyFilesForArchive` was a no-op if `EmbedAssembliesIntoApk`
was set to `False`. However it was still being called in the `_BuildApkFastDev`
target, even though it had a condition which would skip the target
entirely if `EmbedAssembliesIntoApk` was `False`.

So lets remove the call to `CollectAssemblyFilesForArchive` from `_BuildApkFastDev`
completely. We can also remove the `EmbedAssemblies` property from the
`CollectAssemblyFilesForArchive` task as it is no longer needed.
@dellis1972 dellis1972 force-pushed the dev/dellis1972/fastdevremovecollect branch from ac14713 to 8ca0581 Compare January 7, 2025 13:25
@dellis1972
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jonpryor jonpryor merged commit 7013d3f into main Jan 8, 2025
61 checks passed
@jonpryor jonpryor deleted the dev/dellis1972/fastdevremovecollect branch January 8, 2025 20:22
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

Successfully merging this pull request may close these issues.

3 participants