Skip to content

[release/11.0.1xx] [Xamarin.Android.Build.Tasks] Replace GetAppSettingsDirectory - #13686

Merged
jonathanpeppers merged 1 commit into
release/11.0.1xxfrom
backport/pr-13383-to-release/11.0.1xx
Nov 20, 2026
Merged

jonathanpeppers merged 1 commit into
release/11.0.1xxfrom
backport/pr-13383-to-release/11.0.1xx

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #13383 to release/11.0.1xx

/cc @jonathanpeppers @simonrozsival

`<GetAppSettingsDirectory/>` exists only to combine `Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)` with `Xamarin/Mono for Android`.  Keeping a managed task for this calculation is unnecessary when MSBuild property functions can express the same operation.

Compute `$(AppSettingsDirectory)` inside the existing `_ResolveMonoAndroidSdks` target, preserving execution timing, special-folder resolution, the directory suffix, and existing settings/keystore overrides.  Remove the obsolete task implementation, registration, and `GAS` diagnostic-prefix entry.

The existing property contracts remain unchanged.  Direct external invocations of the removed `Xamarin.Android.Tasks.GetAppSettingsDirectory` type are no longer supported; no additional in-tree callers or task API baseline were found.  No new tests are included, as requested; there were no existing task tests to migrate.

Co-authored-by: Copilot App <[email protected]>
@jonathanpeppers
jonathanpeppers merged commit 71caa3a into release/11.0.1xx Nov 20, 2026
42 of 44 checks passed
@jonathanpeppers
jonathanpeppers deleted the backport/pr-13383-to-release/11.0.1xx branch November 20, 2026 20:08
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.

2 participants