Skip to content

Commit cb09e67

Browse files
committed
Update package to use embedded PackageIcon
1 parent e27710f commit cb09e67

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Src/Newtonsoft.Json/Newtonsoft.Json.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
<Title>Json.NET</Title>
1919
<PackageId>Newtonsoft.Json</PackageId>
2020
<PackageTags>json</PackageTags>
21-
<PackageIconUrl>https://www.newtonsoft.com/content/images/nugeticon.png</PackageIconUrl>
21+
<PackageIcon>packageIcon.png</PackageIcon>
22+
<PackageIconFullPath>$(MSBuildThisFileDirectory)packageIcon.png</PackageIconFullPath>
2223
<PackageProjectUrl>https://www.newtonsoft.com/json</PackageProjectUrl>
2324
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2425
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -34,6 +35,7 @@
3435
<ItemGroup>
3536
<None Remove="**\*.orig" />
3637
<None Include="..\..\LICENSE.md" Pack="true" PackagePath="LICENSE.md" />
38+
<None Include="$(PackageIconFullPath)" Pack="true" PackagePath="\"/>
3739
</ItemGroup>
3840
<ItemGroup>
3941
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="$(MicrosoftCodeAnalysisFxCopAnalyzersPackageVersion)" PrivateAssets="All" />

Src/Newtonsoft.Json/packageIcon.png

913 Bytes
Loading

0 commit comments

Comments
 (0)