Skip to content

Commit 1bd2382

Browse files
soi013fgreinacher
andauthored
chore: add icon for NuGet packages (#742)
Co-authored-by: Florian Greinacher <florian@greinacher.de>
1 parent 3d11bab commit 1bd2382

4 files changed

Lines changed: 17 additions & 4 deletions

File tree

System.IO.Abstractions.sln

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IO.Abstractions.Benc
1919
EndProject
2020
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{BCEC61BD-4941-41EC-975A-ACEFC7AC1780}"
2121
EndProject
22-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.Abstractions.Tests", "tests\System.IO.Abstractions.Tests\System.IO.Abstractions.Tests.csproj", "{7105D748-1253-409F-A624-4879412EF3C2}"
22+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.IO.Abstractions.Tests", "tests\System.IO.Abstractions.Tests\System.IO.Abstractions.Tests.csproj", "{7105D748-1253-409F-A624-4879412EF3C2}"
23+
EndProject
24+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "images", "images", "{F781892B-7C5D-4C8D-8D3D-3E9E207D686D}"
25+
ProjectSection(SolutionItems) = preProject
26+
images\icon_256x256.png = images\icon_256x256.png
27+
EndProjectSection
2328
EndProject
2429
Global
2530
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -51,10 +56,10 @@ Global
5156
GlobalSection(SolutionProperties) = preSolution
5257
HideSolutionNode = FALSE
5358
EndGlobalSection
54-
GlobalSection(ExtensibilityGlobals) = postSolution
55-
SolutionGuid = {8885C59C-F6A0-4C2F-A3BC-B720E9BD161F}
56-
EndGlobalSection
5759
GlobalSection(NestedProjects) = preSolution
5860
{7105D748-1253-409F-A624-4879412EF3C2} = {BCEC61BD-4941-41EC-975A-ACEFC7AC1780}
5961
EndGlobalSection
62+
GlobalSection(ExtensibilityGlobals) = postSolution
63+
SolutionGuid = {8885C59C-F6A0-4C2F-A3BC-B720E9BD161F}
64+
EndGlobalSection
6065
EndGlobal

images/icon_256x256.png

8.07 KB
Loading

src/System.IO.Abstractions.TestingHelpers/System.IO.Abstractions.TestingHelpers.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<RootNamespace>System.IO.Abstractions.TestingHelpers</RootNamespace>
55
<Description>A set of pre-built mocks to help when testing file system interactions.</Description>
66
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;net461</TargetFrameworks>
7+
<PackageIcon>icon_256x256.png</PackageIcon>
78
</PropertyGroup>
89
<ItemGroup>
910
<ProjectReference Include="../System.IO.Abstractions/System.IO.Abstractions.csproj" />
@@ -14,4 +15,7 @@
1415
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1516
</PackageReference>
1617
</ItemGroup>
18+
<ItemGroup>
19+
<None Include="..\..\images\icon_256x256.png" Pack="true" PackagePath="\"/>
20+
</ItemGroup>
1721
</Project>

src/System.IO.Abstractions/System.IO.Abstractions.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<RootNamespace>System.IO.Abstractions</RootNamespace>
55
<Description>A set of abstractions to help make file system interactions testable.</Description>
66
<TargetFrameworks>net5.0;netstandard2.1;netstandard2.0;net461</TargetFrameworks>
7+
<PackageIcon>icon_256x256.png</PackageIcon>
78
</PropertyGroup>
89
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'netstandard2.0'">
910
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="4.7.0"/>
@@ -17,4 +18,7 @@
1718
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1819
</PackageReference>
1920
</ItemGroup>
21+
<ItemGroup>
22+
<None Include="..\..\images\icon_256x256.png" Pack="true" PackagePath="\" />
23+
</ItemGroup>
2024
</Project>

0 commit comments

Comments
 (0)