Skip to content

Support "app icons" in the csproj #15398

@mattleibow

Description

@mattleibow

Android application type

iOS for .NET (net6.0-ios, net6.0-maccatalyst, net6.0-macos, 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 assets and add it to the app, but the final step the user has to go edit the info.plist and link the assets to the xml file.

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

@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

Android Issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA feature to be implemented

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions