Skip to content

Commit cc8df89

Browse files
authored
chore: add nuget logo, add net 11 nuget (#18)
2 parents 06673ee + 72993f1 commit cc8df89

File tree

8 files changed

+14
-49
lines changed

8 files changed

+14
-49
lines changed

Directory.Build.props

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<PropertyGroup Label="Assembly">
20-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
20+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
2121
<RootNamespace>MyCSharp.$(MSBuildProjectName)</RootNamespace>
2222
<AssemblyName>MyCSharp.$(MSBuildProjectName)</AssemblyName>
2323
</PropertyGroup>
@@ -53,7 +53,18 @@
5353
<Description>HTTP Client Hints for .NET</Description>
5454
<PackageProjectUrl>https://github.com/mycsharp/HttpClientHints</PackageProjectUrl>
5555
<RepositoryUrl>https://github.com/mycsharp/HttpClientHints</RepositoryUrl>
56+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
5657
<PackageTags>UserAgent, User Agent, Client Hints, Browser, Client, Detector, Detection, Console, ASP, Desktop, Mobile</PackageTags>
58+
<PackageIcon>mycsharpde-logo-nuget.png</PackageIcon>
59+
</PropertyGroup>
60+
61+
<!-- Ensure the repository root res/mycsharpde-logo-nuget.png is packed into NuGet packages -->
62+
<ItemGroup>
63+
<None Include="$(MSBuildThisFileDirectory)res\mycsharpde-logo-nuget.png" Pack="true" PackagePath="" />
64+
</ItemGroup>
65+
66+
<PropertyGroup Condition="'$(IsBenchmarkProject)' == 'true'">
67+
<SignAssembly>false</SignAssembly>
5768
</PropertyGroup>
5869

5970
<PropertyGroup Condition="'$(IsTestProject)' != 'true' AND '$(IsBenchmarkProject)' != 'true'">

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024-2025 MyCSharp
3+
Copyright (c) 2024-2026 MyCSharp
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ by [@BenjaminAbt](https://github.com/BenjaminAbt) and [@gfoidl](https://github.c
125125

126126
MIT License
127127

128-
Copyright (c) 2024-2025 MyCSharp
128+
Copyright (c) 2024-2026 MyCSharp
129129

130130
Permission is hereby granted, free of charge, to any person obtaining a copy
131131
of this software and associated documentation files (the "Software"), to deal

res/mycsharpde-logo-nuget.png

99.7 KB
Loading

src/HttpClientHints.AspNetCore/HttpClientHints.AspNetCore.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
<PropertyGroup Label="Package">
99
<IsPackable>true</IsPackable>
1010
<PackageReadmeFile>readme.md</PackageReadmeFile>
11-
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
1211
</PropertyGroup>
1312

1413
<ItemGroup>
1514
<None Include="readme.md" Pack="true" PackagePath="" />
16-
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
1715
</ItemGroup>
1816

1917
<ItemGroup>

src/HttpClientHints.AspNetCore/LICENSE.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/HttpClientHints/HttpClientHints.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
<PropertyGroup Label="Package">
99
<IsPackable>true</IsPackable>
1010
<PackageReadmeFile>readme.md</PackageReadmeFile>
11-
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
1211
</PropertyGroup>
1312

1413
<ItemGroup>
1514
<None Include="readme.md" Pack="true" PackagePath="" />
16-
<None Include="LICENSE.txt" Pack="true" PackagePath="" />
1715
</ItemGroup>
1816

1917
<ItemGroup Label="Dependencies">

src/HttpClientHints/LICENSE.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)