Skip to content

Commit ef12f37

Browse files
committed
Refactor project file to include package icon and README
- Removed redundant PropertyGroup. - Added PackageIcon and PackageReadmeFile properties. - Included image and README in the packaging process.
1 parent 10dbba4 commit ef12f37

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
32.7 KB
Loading

src/Spectre.Console.Cli.Extensions.DependencyInjection/Spectre.Console.Cli.Extensions.DependencyInjection.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net9.0;net8.0</TargetFrameworks>
5-
</PropertyGroup>
6-
<PropertyGroup>
75
<PackageId>Spectre.Console.Cli.Extensions.DependencyInjection</PackageId>
86
<Authors>achapman,devlead,wcomab</Authors>
97
<Copyright>© Alistair Chapman 2018</Copyright>
@@ -13,12 +11,20 @@
1311
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1412
<PackageProjectUrl>https://github.com/wcomab/Spectre.Console.Cli.Extensions.DependencyInjection</PackageProjectUrl>
1513
<GenerateDocumentationFile>true</GenerateDocumentationFile>
14+
<PackageIcon>Spectre.Console.Cli.Extensions.DependencyInjection.png</PackageIcon>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
1616
</PropertyGroup>
17+
1718
<ItemGroup>
1819
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
1920
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.2" Condition="'$(TargetFramework)' == 'net9.0'" />
2021
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" Condition="'$(TargetFramework)' == 'net8.0'" />
2122
<PackageReference Include="Spectre.Console.Cli" Version="0.49.1" />
2223
</ItemGroup>
2324

25+
<ItemGroup>
26+
<None Include="../Spectre.Console.Cli.Extensions.DependencyInjection.png" Pack="true" PackagePath="/" />
27+
<None Include="../../README.md" Pack="true" PackagePath="/" />
28+
</ItemGroup>
29+
2430
</Project>

0 commit comments

Comments
 (0)