Skip to content

Improve control over resource generation #1732

@davidbritch

Description

@davidbritch

.NET 8 adds control over resource generation, so that you can disable resource items from being generated:

  • <EnableMauiAssetProcessing> can stop the packaging of any <MauiAsset> items
  • <EnableMauiSplashScreenProcessing> can stop the packaging of any <MauiSplashScreen> items
  • <EnableMauiFontProcessing> can stop the packaging of any <MauiFont> items
  • <EnableMauiImageProcessing> can stop the packaging of any <EnableMauiImageProcessing> items
  • Opt-in for the generation of a blank splash screen - if you do not have a <MauiSplashScreen> item AND for some reason you do not have a custom splash:
    • <EnableBlankMauiSplashScreen> will generate a blank splash screen if no <MauiSplashScreen> items were found. This will override any custom splash screens and may/probably will cause an App Store rejection. But, it is useful in testing to ensure the app UI is correct.

dotnet/maui#16845


Associated WorkItem - 164919

Metadata

Metadata

Assignees

Labels

🏁 Release: .NET 10Work items for the .NET 10 release📌 seQUESTeredIdentifies that an issue has been imported into Quest.doc-enhancementImprove the current content [org]

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions