Skip to content

Commit ef62a5c

Browse files
authored
Correctly Pack Icon (#917)
1 parent 7cf0a74 commit ef62a5c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Directory.Build.props

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</PropertyGroup>
2323
<!-- NuGet -->
2424
<PropertyGroup>
25-
<PackageIcon>$(MSBuildThisFileDirectory)..\documentation\readme\silkdotnet_v3.png</PackageIcon>
25+
<PackageIcon>icon.png</PackageIcon>
2626
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2727
<LangVersion>preview</LangVersion>
2828
<Authors>.NET Foundation and Contributors</Authors>
@@ -40,6 +40,9 @@
4040
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX.
4141
</Description>
4242
</PropertyGroup>
43+
<ItemGroup>
44+
<None Include="$(MSBuildThisFileDirectory)..\documentation\readme\silkdotnet_v3.png" Pack="true" Visible="false" PackagePath="icon.png" />
45+
</ItemGroup>
4346
<!-- SourceLink -->
4447
<PropertyGroup Condition="'$(SilkEnableSourceLink)' != 'false' And '$(SilkSourceLinkExempt)' == ''">
4548
<PublishRepositoryUrl>true</PublishRepositoryUrl>

0 commit comments

Comments
 (0)