Skip to content

Commit

Permalink
在项目中包含 snowflake.png 文件
Browse files Browse the repository at this point in the history
在 `Snowflake.Redis.csproj` 和 `Snowflake.csproj` 文件中,添加了 `<ItemGroup>`,将 `snowflake.png` 文件包含在项目中,并在打包时将其包含在内。
  • Loading branch information
hueifeng committed Aug 30, 2024
1 parent bad441d commit 2af6bea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Snowflake.Redis/Snowflake.Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
<ItemGroup>
<ProjectReference Include="..\Snowflake\Snowflake.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="../snowflake.png" Pack="true" PackagePath=""/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
Expand Down
4 changes: 3 additions & 1 deletion Snowflake/Snowflake.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
<PackageIcon>../snowflake.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<None Include="../snowflake.png" Pack="true" PackagePath=""/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 2af6bea

Please sign in to comment.