Skip to content

Commit bd58056

Browse files
committed
Improve NuGet package format.
1 parent 09fefb1 commit bd58056

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trim_trailing_whitespace = true
99
max_line_length = 120
1010
guidelines = 100, 120
1111

12-
[*.{html,js,jsx,ts,tsx,md,json,xml,csproj,http}]
12+
[*.{html,js,jsx,ts,tsx,md,json,xml,csproj,http,props}]
1313
tab_width = 2
1414
indent_size = 2
1515

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<PackageReleaseNotes>https://github.com/manuelroemer/tiny-storage/blob/main/CHANGELOG.md</PackageReleaseNotes>
1515
<PackageTags>tiny-storage asp.net selfhosted self-hosted framework</PackageTags>
1616
<PackageLicenseExpression>MIT</PackageLicenseExpression>
17+
<PackageReadmeFile>README.md</PackageReadmeFile>
1718
<Copyright>Copyright (c) 2025 Manuel Römer</Copyright>
1819
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1920
<IsPackable>false</IsPackable>
@@ -50,4 +51,8 @@
5051
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="All" />
5152
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="*" PrivateAssets="All"/>
5253
</ItemGroup>
54+
55+
<ItemGroup>
56+
<None Include="../../README.md" Pack="true" PackagePath="\" />
57+
</ItemGroup>
5358
</Project>

src/TinyStorage/TinyStorage.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<PropertyGroup>
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<IsPackable>true</IsPackable>
5+
<PackageReadmeFile>README.md</PackageReadmeFile>
56
</PropertyGroup>
67

78
<ItemGroup>
8-
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
9+
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1"/>
910
</ItemGroup>
1011
</Project>

0 commit comments

Comments
 (0)