Skip to content

Commit 42d6b5f

Browse files
authored
Embed license file in NuGet package. (#6)
1 parent 93c0b35 commit 42d6b5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Winton.DomainModelling.AspNetCore/Winton.DomainModelling.AspNetCore.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<NoWarn>$(NoWarn);SA1101;SA1309</NoWarn>
1010
<PackageId>Winton.DomainModelling.AspNetCore</PackageId>
1111
<PackageIconUrl>https://raw.githubusercontent.com/wintoncode/Winton.DomainModelling.AspNetCore/master/icon.jpg</PackageIconUrl>
12-
<PackageLicenseUrl>https://raw.githubusercontent.com/wintoncode/Winton.DomainModelling.AspNetCore/master/LICENSE</PackageLicenseUrl>
12+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1313
<PackageProjectUrl>https://github.com/wintoncode/Winton.DomainModelling.AspNetCore</PackageProjectUrl>
1414
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
1515
<PackageTags>Winton, AspNetCore, ASP, .NET, Core, Domain, Driven, Design, Modelling, DDD</PackageTags>
@@ -27,6 +27,7 @@
2727

2828
<ItemGroup>
2929
<AdditionalFiles Include="../../stylecop.json" />
30+
<None Include="../../LICENSE" Pack="true" PackagePath=""/>
3031
</ItemGroup>
3132

3233
<ItemGroup>

0 commit comments

Comments
 (0)