Skip to content

Commit 763eef8

Browse files
committed
Improve NuGet metadata
1 parent 660e271 commit 763eef8

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

AesExtra/AesExtra.csproj

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ SPDX-License-Identifier: MIT
1414
<IsPackable>true</IsPackable>
1515
<PackageId>Dorssel.Security.Cryptography.AesExtra</PackageId>
1616
<SignAssembly>True</SignAssembly>
17-
<AssemblyOriginatorKeyFile>..\strongname.snk</AssemblyOriginatorKeyFile>
18-
19-
<!-- SourceLink -->
20-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
21-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22-
<IncludeSymbols>true</IncludeSymbols>
23-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2417
</PropertyGroup>
2518

2619
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
@@ -32,7 +25,8 @@ SPDX-License-Identifier: MIT
3225
</PropertyGroup>
3326

3427
<ItemGroup>
35-
<None Include="..\LICENSE.txt" Pack="true" PackagePath="" />
28+
<None Include="..\LICENSE.txt" Pack="true" PackagePath="" Visible="false" />
29+
<None Include="..\README.md" Pack="true" PackagePath="" Visible="false" />
3630
</ItemGroup>
3731

3832
<ItemGroup>

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ SPDX-License-Identifier: MIT
3333
<IsPackable>false</IsPackable>
3434
<IsPublishable>false</IsPublishable>
3535
<IsTrimmable>true</IsTrimmable>
36+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\strongname.snk</AssemblyOriginatorKeyFile>
3637

3738
<!-- Assembly metadata -->
3839
<Product>dotnet-aes-extra</Product>
@@ -45,6 +46,14 @@ SPDX-License-Identifier: MIT
4546
<Description>.NET Standard 2.0 implementation of AES-CTR, AES-CMAC, and AES-SIV.</Description>
4647
<PackageLicenseExpression>MIT</PackageLicenseExpression>
4748
<PackageProjectUrl>https://github.com/dorssel/dotnet-aes-extra</PackageProjectUrl>
49+
<PackageReadmeFile>README.md</PackageReadmeFile>
50+
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
51+
52+
<!-- SourceLink -->
53+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
54+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
55+
<IncludeSymbols>true</IncludeSymbols>
56+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
4857
</PropertyGroup>
4958

5059
<ItemGroup>

UnitTests/UnitTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ SPDX-License-Identifier: MIT
1010
<ImplicitUsings>enable</ImplicitUsings>
1111
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
1212
<SignAssembly>True</SignAssembly>
13-
<AssemblyOriginatorKeyFile>..\strongname.snk</AssemblyOriginatorKeyFile>
1413
</PropertyGroup>
1514

1615
<ItemGroup>

0 commit comments

Comments
 (0)