Skip to content

Add MSKit_DefaultPackageIconUrl next to the kit's icon - #14

Merged
vfofanov merged 3 commits into
mainfrom
feat/default-icon-url
Oct 6, 2026
Merged

vfofanov merged 3 commits into
mainfrom
feat/default-icon-url

Conversation

@vfofanov

@vfofanov vfofanov commented Oct 6, 2026

Copy link
Copy Markdown
Contributor
  • New MSKit_DefaultPackageIconUrl (empty by default): when the kit packs its own icon, the URL is also written as PackageIconUrl, so clients that predate embedded icons show it; nuget.org keeps the embedded one. Never applied when the project sets PackageIcon or PackageIconUrl.
  • MSKITPKG008 now reports only a PackageIconUrl the project sets itself; same code and HelpLink.
  • Docs: property row, packaging icon line, MSKITPKG008 section, owner-layer note, changelog.
Tests

tests/package-icon.sh: kit icon + URL → iconUrl set, no MSKITPKG008, no NU5048; own PackageIcon + URL → no iconUrl; empty → no iconUrl; project PackageIconUrl → kept and MSKITPKG008 fires. Red on main (1 failure), green after; dropping either new condition fails 2 cases.

- iconUrl only with the kit's embedded icon, never with the project's
  own PackageIcon or an empty property; MSKITPKG008 only for a
  project-set PackageIconUrl
- package.targets writes it as PackageIconUrl only when the kit's own
  icon is packed and the project set no PackageIconUrl
- MSKITPKG008 skips the kit-set URL, still reports a project-set one
- property row, the icon line in packaging, the MSKITPKG008 section,
  the owner-layer note and an Unreleased changelog entry
@vfofanov
vfofanov marked this pull request as ready for review October 6, 2026 09:59
@vfofanov
vfofanov merged commit 3c8a823 into main Oct 6, 2026
4 checks passed
@vfofanov
vfofanov deleted the feat/default-icon-url branch October 6, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant