Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Reviewing Java.Interop's build, I noticed some things we can delete now:

  • Checking for $(XABuild), as this is no longer used

  • Checking for $(TargetFramework)=monoandroid10

Reviewing `Java.Interop`'s build, I noticed some things we can delete now:

* Checking for `$(XABuild)`, as this is no longer used

* Checking for `$(TargetFramework)=monoandroid10`
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes obsolete Xamarin.Android build settings from the Java.Interop build configuration. The changes clean up legacy build logic that is no longer needed in the current build system.

  • Removes the XABuild condition check that was used to conditionally set the target framework
  • Eliminates the monoandroid10 target framework-specific build target for generating assembly info
  • Simplifies the build configuration by removing conditional logic for legacy Xamarin.Android scenarios

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Java.Interop/Java.Interop.csproj Removes XABuild condition check and unconditionally sets target framework
src/Java.Interop/Java.Interop.targets Removes BuildVersionInfo_g_cs target that was specific to monoandroid10 framework

@jonathanpeppers jonathanpeppers merged commit a5d7370 into main Aug 28, 2025
2 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/peppers/xa-cleanup branch August 28, 2025 18:57
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2025
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.

2 participants