Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PackageLicenseExpression and cleanup project properties #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lahma
Copy link

@lahma lahma commented Feb 9, 2024

License expression is the preferred way (shows in NuGet.org and used in license validations). I created root level Directory.Build.props that projects will inherit so no need to have same info (in different ways) in all projects. For next release you just need to update the version number in root Directory.Build.props.

dotnet build -c Release && dotnet pack -c Release

Now produces NuGet packages like this:

image

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.

1 participant