Skip to content

Support "app icons" in the csproj #7147

@mattleibow

Description

@mattleibow

Android application type

Android for .NET (net6.0-android, etc.)

Affected platform version

All

Description

Right now we are almost there with resizetizer (icon generation) for mobile apps. We have tasks that generate all the drawables and add it to the app, but the final step the user has to go edit the manifest and link the drawables/mipmaps to the xml file.

It would be great to be able to get resizetizer to output some build item/property and have the android build insert the values into the manifest.

@jonathanpeppers mentioned that editing the manifest from a build task may break incremental builds and/or fast deploy processes.

This is also consistent with Windows and Tizen which support automatic manifest updates.

Steps to Reproduce

  1. File | New | Maui
  2. Replace the icon file with one with a new name (or rename)
  3. Fix the csproj with the new name
  4. Observe the build log shows the new images (and see in the obj dir)
  5. Observe the build fails because the manifest also needs updating

Did you find any workaround?

Editing the manifest, but this is the issue.

Relevant log output

No response

iOS/Mac Issue

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.enhancementProposed change to current functionality.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions