Skip to content

Commit

Permalink
Add Strong Name & add source link
Browse files Browse the repository at this point in the history
  • Loading branch information
lillo42 committed Feb 21, 2025
1 parent f117e73 commit a3af65e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file added csharp/RocketMQ.snk
Binary file not shown.
14 changes: 14 additions & 0 deletions csharp/rocketmq-client-csharp/rocketmq-client-csharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@
<PackageProjectUrl>https://github.com/apache/rocketmq-clients</PackageProjectUrl>
<RepositoryUrl>https://github.com/apache/rocketmq-clients</RepositoryUrl>
<PackageIcon>logo.png</PackageIcon>

<!-- Add strong name -->
<AssemblyOriginatorKeyFile>../RocketMq.snk</AssemblyOriginatorKeyFile>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
<!-- This is useful if you generate files during the build -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
<DebugType>embedded</DebugType>

<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>

Expand All @@ -30,6 +40,10 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.4" />
<PackageReference Include="OpenTelemetry" Version="1.3.1" />
<PackageReference Include="OpenTelemetry.Api" Version="1.3.1" />
Expand Down

0 comments on commit a3af65e

Please sign in to comment.