Skip to content

Commit 9d6a6db

Browse files
analyzer: add MIT PackageLicenseExpression to NuGet package (#442)
## Summary Fixes the NuGet authoring best-practices warning: > warn : License missing. See how to include a license within the package: https://aka.ms/nuget/authoring-best-practices#licensing. ## Change Added `<PackageLicenseExpression>MIT</PackageLicenseExpression>` to `IntelliTect.Analyzer/IntelliTect.Analyzer/IntelliTect.Analyzer.csproj`. This uses the recommended SPDX expression approach and matches the existing `LICENSE` (MIT) file already present in the repository. ## Reviewers - Only one line added to the `.csproj`; no logic changes.
1 parent 001dce5 commit 9d6a6db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

IntelliTect.Analyzer/IntelliTect.Analyzer/IntelliTect.Analyzer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PackageId>IntelliTect.Analyzers</PackageId>
1010
<Authors>IntelliTect</Authors>
1111
<RepositoryUrl>https://github.com/IntelliTect/CodingGuidelines</RepositoryUrl>
12+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1213
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1314
<Description>Analyzer aiding the implementation of IntelliTect internal coding guidelines</Description>
1415
<Copyright>Copyright 2021</Copyright>

0 commit comments

Comments
 (0)