Skip to content

Remove unused MSBuild .targets files from src\Xamarin.Android.Build.Tasks\MSBuild #10253

@jonathanpeppers

Description

@jonathanpeppers

Android framework version

net10.0-android (Preview)

Affected platform version

.NET 10

Description

I found a completely unused file:

  • src\Xamarin.Android.Build.Tasks\MSBuild\Xamarin\Android\Xamarin.Android.Common\ImportAfter\Microsoft.Cpp.Android.targets

Search for unused .targets files we can remove. List them all and remove them.

To see if a file is for sure unused, look at:

  • build-tools\installers\create-installers.targets

Add a note to .github/copilot-instructions.md such as:

## Development Guidelines

**Always search Microsoft documentation (MS Learn) when working with .NET, Windows, or Microsoft features, APIs, or integrations.** Use the `microsoft_docs_search` tool to find the most current and authoritative information about capabilities, best practices, and implementation patterns before making changes.

Metadata

Metadata

Assignees

Labels

needs-triageIssues that need to be assigned.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions