Skip to content

Commit

Permalink
Add new icon package format
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanHorrik committed Feb 3, 2020
1 parent 4ff0a79 commit 0d09643
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Binary file added design/Package/Icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/Directory.build.shared.explicit.props
Expand Up @@ -57,6 +57,14 @@
<Title Condition=" '$(Title)' == '' ">$(PackageId)</Title>
</PropertyGroup>

<PropertyGroup Condition="Exists('$(MSBuildProjectDirectory)\..\..\design\Package\icon.png')">
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>

<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\..\..\design\Package\icon.png')">
<None Include="$(MSBuildProjectDirectory)\..\..\design\Package\icon.png" Pack="true" PackagePath="\" />
</ItemGroup>

<!-- This will include LICENSE.txt and VERIFICATION.txt for Chocolatey -->
<ItemGroup>
<None Include="$(OverridableOutputPath)\LICENSE.txt"
Expand Down
9 changes: 6 additions & 3 deletions src/global.json
@@ -1,5 +1,8 @@
{
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "2.0.54"
}
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "2.0.54"
},
"sdk": {
"version": "3.0.101"
}
}

0 comments on commit 0d09643

Please sign in to comment.