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 Enhanced Fast Deployment #8959

Merged
merged 8 commits into from
May 28, 2024
Merged

Remove Enhanced Fast Deployment #8959

merged 8 commits into from
May 28, 2024

Conversation

dellis1972
Copy link
Contributor

@dellis1972 dellis1972 commented May 17, 2024

Context https://github.com/xamarin/monodroid/pull/1481
Context #2730

Bump monodroid to bring in the following changes.

Changes https://github.com/xamarin/monodroid/compare/9ca6d9f64fce11f04d668ece50ada36de1d7efce...93ab95e18077d56d9d55ce7b4069a534e2dea35e.

The biggest of these changes is the removal of Enhanced Fast Deplyment. This change removes the ability to side load .dex, .so and resources in the same directory as we sideload assemblies. This feature was always hard to maintain as it used a bunch of android API's which are deprecated or have very little documentation. It also did not work for Application subcalsses. This restriction alone makes it impossible to use this feature with Maui.

Given its maintainance issues and the lack of use among our customer base it is best is we remove this feature.
The default Fast Deployment of assemblies will still function as it currently does now. Only the side loading of .dex, .so and resources is being removed.

Add a XA1037 warning to tell users that the AndroidFastDeploymentType is no longer supported.
Add a new test XA1037PropertyDeprecatedWarning which makes sure that the areas using the generic XA1037 warning are producing a correct message.

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.

Is there an issue with the test LocalizedAssemblies_ShouldBeFastDeployed?

@jonpryor
Copy link
Member

This PR will close #2730.

@dellis1972
Copy link
Contributor Author

We need this one https://github.com/xamarin/monodroid/pull/1485.

@dellis1972 dellis1972 changed the title Rminstantrun Remove Enhanced Fast Deployment May 28, 2024
@dellis1972 dellis1972 marked this pull request as ready for review May 28, 2024 09:10
@jonpryor jonpryor merged commit eadb318 into main May 28, 2024
48 checks passed
@jonpryor jonpryor deleted the rminstantrun branch May 28, 2024 18:03
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.

None yet

4 participants