Skip to content

Commit b28a730

Browse files
committed
Replaced PackageIconUrl with PackageIcon in NuGet packages. Closes #396.
1 parent d6d5252 commit b28a730

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,19 @@
3030
</PropertyGroup>
3131

3232
<PropertyGroup Label="Configure default package info" Condition="'$(IsLibrary)' == 'True'">
33-
<PackageIconUrl>https://github.com/ikkentim/SampSharp/raw/master/sampsharp.png</PackageIconUrl>
3433
<PackageProjectUrl>https://github.com/ikkentim/SampSharp</PackageProjectUrl>
34+
<PackageIcon>sampsharp.png</PackageIcon>
3535
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3636
<PackageTags>gta samp sampsharp</PackageTags>
3737
<PackageId>$(AssemblyName)</PackageId>
3838
<Product>$(AssemblyName)</Product>
3939
<PublishRepositoryUrl>true</PublishRepositoryUrl>
4040
</PropertyGroup>
4141

42+
<ItemGroup Condition="'$(IsLibrary)' == 'True'">
43+
<None Include="$(MSBuildThisFileDirectory)\art\sampsharp.png" Pack="true" PackagePath="\"/>
44+
</ItemGroup>
45+
4246
<PropertyGroup Label="Versioning">
4347
<VersionPrefix>0.0.0</VersionPrefix>
4448
<VersionSuffix>local</VersionSuffix>

0 commit comments

Comments
 (0)