Skip to content

analyzer: add MIT PackageLicenseExpression to NuGet package#442

Merged
BenjaminMichaelis merged 1 commit into
mainfrom
agents/add-license-to-package
May 13, 2026
Merged

analyzer: add MIT PackageLicenseExpression to NuGet package#442
BenjaminMichaelis merged 1 commit into
mainfrom
agents/add-license-to-package

Conversation

@BenjaminMichaelis
Copy link
Copy Markdown
Member

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.

Fixes the 'License missing' NuGet authoring best practices warning
by adding <PackageLicenseExpression>MIT</PackageLicenseExpression>
to the packaged project, matching the repo's existing LICENSE file.
Copilot AI review requested due to automatic review settings May 13, 2026 07:35
@BenjaminMichaelis BenjaminMichaelis merged commit 9d6a6db into main May 13, 2026
6 checks passed
@BenjaminMichaelis BenjaminMichaelis deleted the agents/add-license-to-package branch May 13, 2026 07:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds NuGet package licensing metadata to align the analyzer package with NuGet authoring best practices and eliminate the “License missing” warning, using an SPDX license expression consistent with the repository’s MIT LICENSE file.

Changes:

  • Added <PackageLicenseExpression>MIT</PackageLicenseExpression> to the analyzer NuGet packaging properties.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants