Skip to content

Commit d62a880

Browse files
authored
Set package license explicitly in GuardClauses.csproj (#359)
Set the package license to MIT explicitly in the csproj file instead of including a license file. With this, the license will show up directly on the nuget's page on nuget.org and is easiliy usable for tools like nuget-license
1 parent ad43aa0 commit d62a880

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/GuardClauses/GuardClauses.csproj

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
3+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
44
</PropertyGroup>
5-
<ItemGroup>
6-
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
7-
</ItemGroup>
85
<PropertyGroup>
96
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0</TargetFrameworks>
107
<PackageId>Ardalis.GuardClauses</PackageId>

0 commit comments

Comments
 (0)