Skip to content

Add PackageLicenseExpression and cleanup project properties#28

Open
lahma wants to merge 1 commit into
DarkLiKally:masterfrom
lahma:license-expression
Open

Add PackageLicenseExpression and cleanup project properties#28
lahma wants to merge 1 commit into
DarkLiKally:masterfrom
lahma:license-expression

Conversation

@lahma
Copy link
Copy Markdown

@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