Skip to content

Commit 25f229c

Browse files
feat(dotnet): add nuget logo
1 parent 7e58054 commit 25f229c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/SDK/Language/DotNet.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ public function getFiles()
261261
'template' => '/dotnet/src/Appwrite.sln',
262262
'minify' => false,
263263
],
264+
[
265+
'scope' => 'copy',
266+
'destination' => '/icon.png',
267+
'template' => '/dotnet/icon.png',
268+
'minify' => false,
269+
],
264270
[
265271
'scope' => 'default',
266272
'destination' => '/src/Appwrite/Appwrite.csproj',

templates/dotnet/icon.png

7.57 KB
Loading

templates/dotnet/src/Appwrite/Appwrite.csproj.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
<Description>
99
{{sdk.shortDescription}}
1010
</Description>
11+
<PackageIcon>icon.png</PackageIcon>
1112
<PackageLicenseExpression>{{spec.licenseName}}</PackageLicenseExpression>
1213
<PackageProjectUrl>{{sdk.gitURL}}</PackageProjectUrl>
1314
<RepositoryType>git</RepositoryType>
1415
<RepositoryUrl>{{sdk.gitURL}}</RepositoryUrl>
16+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1517
</PropertyGroup>
1618

1719
<ItemGroup>
1820
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
21+
<None Include="..\..\icon.png" Pack="true" PackagePath="$(PackageIcon)"/>
1922
</ItemGroup>
2023

2124
</Project>

0 commit comments

Comments
 (0)