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

[Xamarin.Android.Build.Tasks] remove $(_InstantRunEnabled) checks #9292

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

jonathanpeppers
Copy link
Member

Context: https://github.com/xamarin/monodroid/commit/93ab95e18077d56d9d55ce7b4069a534e2dea35e
Context: https://github.com/xamarin/monodroid/commit/2c64cd5f533616ff4751fb1df6bbfc7e170477ae

"Enhanced Fast Deployment" was removed from our private sources, so we can now remove the following from our MSBuild logic:

  • $(_InstantRunEnabled) checks from MSBuild targets, it is false

  • InstantRunEnabled parameters in any MSBuild tasks or related classes

  • Usage of the @(_InstantRunJavaReference) item group

For one parameter of <GenerateJavaStubs/>, I created a private property $(_AndroidGenerateNativeAssembly) that defaults to true.

In a future PR, we could consider making runtime changes to remove instant_run_enabled as well.

Context: xamarin/monodroid@93ab95e
Context: xamarin/monodroid@2c64cd5

"Enhanced Fast Deployment" was removed from our private sources, so we
can now remove the following from our MSBuild logic:

* `$(_InstantRunEnabled)` checks from MSBuild targets, it is `false`

* `InstantRunEnabled` parameters in any MSBuild tasks or related classes

* Usage of the `@(_InstantRunJavaReference)` item group

For one parameter of `<GenerateJavaStubs/>`, I created a private
property `$(_AndroidGenerateNativeAssembly)` that defaults to `true`.

In a future PR, we could consider making runtime changes to remove
`instant_run_enabled` as well.
@grendello
Copy link
Contributor

Once this PR is merged I'll open another one to update the native runtime accordingly.

@dellis1972 dellis1972 merged commit 17e2e8e into dotnet:main Sep 11, 2024
57 checks passed
grendello added a commit that referenced this pull request Sep 11, 2024
Context: #9292

With "Enhanced Fast Deployment" no longer part of .NET for Android,
remove the native runtime side of its support.
@grendello
Copy link
Contributor

Native runtime PR: #9297

@jonathanpeppers jonathanpeppers deleted the _InstantRunEnabled branch September 11, 2024 10:29
dellis1972 pushed a commit that referenced this pull request Sep 11, 2024
Context: #9292

With "Enhanced Fast Deployment" no longer part of .NET for Android,
remove the native runtime side of its support.
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 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.

3 participants