Skip to content

Commit f2ca130

Browse files
authored
chore(internal): add logo to nuget package (#181)
* add logo * path consistency
1 parent 76affbf commit f2ca130

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

‎src/Anthropic.Foundry/Anthropic.Foundry.csproj‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,21 @@
2525
<Authors>Stainless Software, Inc.</Authors>
2626
<Company>Stainless Software, Inc.</Company>
2727
<PackageProjectUrl>https://github.com/anthropics/anthropic-sdk-csharp</PackageProjectUrl>
28+
<PackageIcon>logo.png</PackageIcon>
2829
<RepositoryUrl>https://github.com/anthropics/anthropic-sdk-csharp</RepositoryUrl>
2930
<RepositoryType>git</RepositoryType>
3031
<LangVersion>Latest</LangVersion>
31-
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository>
32-
element) -->
3332
<PublishRepositoryUrl>true</PublishRepositoryUrl>
34-
<!-- Optional: Embed source files that are not tracked by the source control manager in the
35-
PDB -->
3633
<EmbedUntrackedSources>true</EmbedUntrackedSources>
37-
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
3834
<IncludeSymbols>true</IncludeSymbols>
3935
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
4036
<AllowedOutputExtensionsInPackageBuildOutputFolder>
4137
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
4238
<SupportedFrameworks>net8.0;net9.0;netstandard2.0</SupportedFrameworks>
4339
</PropertyGroup>
4440
<ItemGroup>
45-
<Compile Include="../Anthropic/GlobalShims.cs" />
41+
<None Include="..\logo.png" Pack="true" PackagePath="\" />
42+
<Compile Include="..\Anthropic\GlobalShims.cs" />
4643
</ItemGroup>
4744
</Project>
45+

‎src/Anthropic/Anthropic.csproj‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<!-- Generate an XML documentation file for the project. -->
1313
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1414
<PackageReadmeFile>README.md</PackageReadmeFile>
15+
<PackageIcon>logo.png</PackageIcon>
1516
<RepositoryUrl>https://www.github.com/anthropics/anthropic-sdk-csharp</RepositoryUrl>
1617
<RepositoryType>git</RepositoryType>
1718
<!-- Embed source files that are not tracked by the source control manager in the PDB -->
@@ -34,17 +35,15 @@
3435
<RepositoryUrl>https://github.com/anthropics/anthropic-sdk-csharp</RepositoryUrl>
3536
<RepositoryType>git</RepositoryType>
3637
<LangVersion>Latest</LangVersion>
37-
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
3838
<PublishRepositoryUrl>true</PublishRepositoryUrl>
39-
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
4039
<EmbedUntrackedSources>true</EmbedUntrackedSources>
41-
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
4240
<IncludeSymbols>true</IncludeSymbols>
4341
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
4442
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
4543
<SupportedFrameworks>net8.0;net9.0;netstandard2.0</SupportedFrameworks>
4644
</PropertyGroup>
4745
<ItemGroup>
46+
<None Include="..\logo.png" Pack="true" PackagePath="\" />
4847
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
4948
</ItemGroup>
5049
<ItemGroup>

‎src/logo.png‎

52.7 KB
Loading

0 commit comments

Comments
 (0)