Skip to content

[Docs][UnoAssets][SDK] What is UnoAssets BuildAction doing and for what is it recommended to be used? #20854

@DevTKSS

Description

@DevTKSS

What would you like clarification on? 🤔

See title

Using UnoAssets, which is provided as BuildAction Property has unclear reaction, documentation

Image

I as VS2022 User of Uno would estimate the UnoAssets BuildAction provided, to be the optimal choose for Storage Extensions Provided Files, but no idea whats really happens behind the szenes and what is maybe not supported as file or for what it is thought.

Concern 📚

Clarification of capabilities 💡

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

All platforms 🌍

Any feedback? 💬

  • Should be documented because we can choose it as BuildAction in vs2022

  • Should not just be included in the Sdk.props, than also in the Sdk.props.buildschema:

    <ItemGroup>
    <AvailableItemName Include="UnoAsset"/>
    <AvailableItemName Include="UnoImage"/>
    <AvailableItemName Include="UnoIcon"/>
    <AvailableItemName Include="UnoSplashScreen"/>
    <AvailableItemName Include="UnoDspImportColors"/>
    </ItemGroup>

    "metadata": [
    {
    "$appliesTo": [
    "UnoIcon",
    "UnoImage",
    "UnoSplashScreen"
    ],

At the moment, I am using Resources as BuildAction for e.g. txt files to display while runtime, but as we having e.g. UnoImage or similar provided from the Resizetizer, it would be possible in my opinion, that there is also a Uno Action for Storage provided Files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.triage/untriagedIndicates an issue requires triaging or verification

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions