Skip to content

Commit 7e75ba2

Browse files
authored
enable SourceLink (#859)
1 parent 227076f commit 7e75ba2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ExchangeSharp/ExchangeSharp.csproj

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<RepositoryUrl>https://github.com/DigitalRuby/ExchangeSharp</RepositoryUrl>
2323
<RepositoryType>git</RepositoryType>
2424
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
25+
<IncludeSymbols>true</IncludeSymbols>
26+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
27+
<!--Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element)-->
28+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
29+
<!--Embed source files that are not tracked by the source control manager in the PDB-->
30+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2531
</PropertyGroup>
2632

2733
<ItemGroup>
@@ -37,6 +43,7 @@
3743
<PrivateAssets>all</PrivateAssets>
3844
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3945
</PackageReference>
46+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
4047
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
4148
<PackageReference Include="NLog" Version="5.3.4" />
4249
<PackageReference Include="SocketIOClient" Version="3.1.2" />
@@ -49,6 +56,7 @@
4956
<EmbeddedResource Include="Properties\Resources\PoloniexWithdrawalFields.csv" />
5057
<None Remove="nlog.config" />
5158
<EmbeddedResource Include="nlog.config" />
59+
<!--Allows ExchangeSharpTests to directly access members that are internal-->
5260
<InternalsVisibleTo Include="ExchangeSharpTests" />
5361
</ItemGroup>
5462

0 commit comments

Comments
 (0)