Skip to content

Remove unused using directives from Aapt2.cs#12043

Draft
jonathanpeppers with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-finder-remove-unused-usings
Draft

Remove unused using directives from Aapt2.cs#12043
jonathanpeppers with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-finder-remove-unused-usings

Conversation

Copilot AI commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Aapt2.cs carried several unused imports in its using block, which added noise and overstated the file's actual dependencies. This change trims the file to only the namespaces it references.

  • Using cleanup

    • Removed six unused directives from src/Xamarin.Android.Build.Tasks/Tasks/Aapt2.cs
    • Preserved the existing ordering of the remaining directives
  • Scope

    • No task logic, behavior, or signatures changed
    • No test code or project configuration changed
using System;
using System.IO;
using System.Threading;
using System.Text;
using Microsoft.Build.Utilities;
using Microsoft.Build.Framework;
using System.Collections.Generic;
using System.Collections.Concurrent;
using Xamarin.Android.Tools;
using Microsoft.Android.Build.Tasks;

Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove unused using directives in Aapt2.cs Remove unused using directives from Aapt2.cs Jul 12, 2026
Copilot AI requested a review from jonathanpeppers July 12, 2026 02:56
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.

[fix-finder] Remove unused using directives in Aapt2.cs

3 participants