Skip to content

Commit e9c629a

Browse files
Add README.md to NuGet package
1 parent 5d2f175 commit e9c629a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Directory.Build.props

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
<PackageIconUrl>https://raw.githubusercontent.com/SanderMertens/flecs/master/docs/img/logo_small.png</PackageIconUrl>
88
<PackageIcon>icon.png</PackageIcon>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<PackageReadmeFile>README.md</PackageReadmeFile>
11+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1012
<RepositoryUrl>https://github.com/BeanCheeseBurrito/Flecs.NET</RepositoryUrl>
1113
<RepositoryType>Github</RepositoryType>
12-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1314

1415
<DebugType>portable</DebugType>
1516
<IncludeSymbols>true</IncludeSymbols>
@@ -26,6 +27,10 @@
2627
<AllowedOutputExtensionsInPackageBuildOutputFolder Condition="'$(FlecsPackPdb)' == 'true'">$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2728
</PropertyGroup>
2829

30+
<ItemGroup>
31+
<None Include="$(MSBuildThisFileDirectory)../README.md" Pack="true" PackagePath="README.md"/>
32+
</ItemGroup>
33+
2934
<PropertyGroup>
3035
<HostArch>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture)</HostArch>
3136
</PropertyGroup>

0 commit comments

Comments
 (0)