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

@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
grendello added a commit that referenced this pull request Jun 3, 2024
* main:
  [ci] Update .NET version installed for MAUI tests (#8995)
  [ci] Run "Push Internal" job on AzurePipelines-EO pool (#8991)
  [Xamarin.Android.Build.Tasks] LLVM Marshal Methods by Default, Take 2 (#8925)
  $(AndroidPackVersionSuffix)=preview.6; net9 is 34.99.0.preview.6 (#8989)
  [ci] Update path for generated `*.include.*` files (#8980)
  Bump to xamarin/xamarin-android-tools/main@da2c33e (#8984)
  Bump to xamarin/Java.Interop/main@f935001 (#8985)
  Bump to xamarin/monodroid@93ab95e18 (#8959)
  Force loc task pool image to windows (#8983)
  [git] Re-format `.gitmodules` (#8978)
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants