Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uno.Sdk] Disable asset generation with Resizetizer #19139

Open
morning4coffe-dev opened this issue Dec 28, 2024 · 2 comments
Open

[Uno.Sdk] Disable asset generation with Resizetizer #19139

morning4coffe-dev opened this issue Dec 28, 2024 · 2 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification

Comments

@morning4coffe-dev
Copy link
Member

What would you like to be added

Is there a way to directly disable generating assets with Resizetizer with Uno.Sdk? I think it can be done by DisableImplicitUnoPackages and adding all the necessary packages back manually, but that is not an elegant solution. If it is possible, it should be documented.

Why is this needed

No response

For which platform

No response

Anything else we need to know?

No response

@morning4coffe-dev morning4coffe-dev added kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Dec 28, 2024
@Youssef1313
Copy link
Member

It's relying on implementation details, but you can have a target that runs before UnoImplicitPackages and remove Uno.Resizetizer from _UnoProjectSystemPackageReference. But I'm not sure if everything will work fine without needing additional changes.

@DevTKSS
Copy link
Contributor

DevTKSS commented Jan 1, 2025

Maybe you could "just" set the properties for those objects to content or similar so the files there would explicitly not be set as unoicon/unoimage or similar. As far as I understood uno resizitzer that would result in it is not handling this because its not told to. Would that maybe do the trick for that needcase? If you want to not generate from whole folder you could do that in csproj with "Assets*" to recursivly set this property kind to something like content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

3 participants