Commit ebdb6a6
committed
Introduced icon for the NuGet packages
By placing the icon in the root, explicitly setting it to be packed, and then referencing it as the `<PackageIcon />` in the `Directory.Build.props`, we can ensure that every project ends up with the same icon. For now, we're using the Ignia logo as the icon, and have set it to 128x128 per NuGet recommendations.
Note that in order to pack the file, the `<None />` reference needed to crawl back one directory, since the `<ItemGroup />` will be evaluated in context of each individual `csproj`. The `<PackageIcon />` doesn't require this, however, since the `<None />` reference will ensure it's in the root of the `*.nupkg` file.1 parent 3e68b16 commit ebdb6a6
3 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments