Skip to content

Potential issue with wildcards for @(AndroidResource) #3361

@jonathanpeppers

Description

@jonathanpeppers

Steps to Reproduce

Context: #3355 (review)

  1. Put <AndroidResource Include="Resources\*\*.xml" /> in your project
  2. Build
  3. Add an existing resource with a timestamp older than {Now}, build again.

At this point it seems like our MSBuild targets will not re-run aapt, and this happens for both aapt and aapt2.

We will need to fix this as we add support for SDK-style projects.

Expected Behavior

Using @(AndroidResource) with wildcards works as expected.

Actual Behavior

Using @(AndroidResource) with wildcards can cause MSBuild targets to skip.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions