Skip to content

Commit

Permalink
Include README.md in package for documentation
Browse files Browse the repository at this point in the history
The changes in the `PersianDate.csproj` file include the addition of a new item to the `<ItemGroup>` section. Specifically, the `README.md` file located in the parent directory is now included in the project. This file is set to be packed with the package, and its package path is set to the root directory (`\`). Additionally, the existing configuration for including the `icon.png` file in the package remains unchanged.

This ensures that the `README.md` file will be part of the distributed package, providing useful documentation directly within the package.
  • Loading branch information
hootanht committed Sep 12, 2024
1 parent fdcb9ec commit 23eb26c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PersianDate/PersianDate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="Icon\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
Expand Down

0 comments on commit 23eb26c

Please sign in to comment.