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

Implement PackageIcon automatic packing #332

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Implement PackageIcon automatic packing #332

merged 1 commit into from
Feb 27, 2023

Conversation

kzu
Copy link
Member

@kzu kzu commented Feb 27, 2023

Just like our PackagePath implies Pack=true, we should likewise automatically pack a None/Content item if it was used as the PackageIcon property.

We support this for relative paths within the project as well as linked files (in case users use the same icon across multiple projects).

This means that in the most common case (a .jpg/.png) alognside the project file, setting the PackageIcon property to that file will Just Work.

@kzu kzu added the enhancement New feature or request label Feb 27, 2023
@kzu kzu enabled auto-merge (rebase) February 27, 2023 21:20
Just like our PackagePath implies Pack=true, we should likewise automatically pack a None/Content item if it was used as the PackageIcon property.

We support this for relative paths within the project as well as linked files (in case users use the same icon across multiple projects).

This means that in the most common case (a .jpg/.png) alognside the project file, setting the PackageIcon property to that file will Just Work.
@kzu kzu merged commit 38ee8fc into main Feb 27, 2023
@kzu kzu deleted the dev/PackageIconInclude branch February 27, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant