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

Use PackageLicenseExpression in NuGet package #564

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 19 additions & 27 deletions source/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
<Project>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>ToBeObtained.snk</AssemblyOriginatorKeyFile> <!-- obtainde during publish from secrets -->
</PropertyGroup>

<PropertyGroup>
<PackageLicense>LICENSE</PackageLicense>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Owner>Rex Morgan; Handlebars-Net</Owner>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>9</LangVersion>
</PropertyGroup>

<PropertyGroup>
<NoWarn>1591;1574;1584;1658</NoWarn>
</PropertyGroup>

<ItemGroup>
<Content Include="..\..\LICENSE">
<Visible>false</Visible>
<Pack>true</Pack>
<PackagePath>.</PackagePath>
</Content>
</ItemGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>ToBeObtained.snk</AssemblyOriginatorKeyFile> <!-- obtained during publish from secrets -->
</PropertyGroup>

<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Owner>Rex Morgan; Handlebars-Net</Owner>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>9</LangVersion>
</PropertyGroup>

<PropertyGroup>
<NoWarn>1591;1574;1584;1658</NoWarn>
</PropertyGroup>
</Project>
Loading