Skip to content

Commit 35b24f2

Browse files
author
Roman Kozachenko
committed
Use Microsoft.SourceLink.GitHub instead of Gitlink
1 parent 8a0829f commit 35b24f2

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/progaudi.tarantool/progaudi.tarantool.csproj

+12-4
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,22 @@
2727
<GenerateAssemblyCopyrightAttribute>true</GenerateAssemblyCopyrightAttribute>
2828
</PropertyGroup>
2929

30+
<PropertyGroup>
31+
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
32+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
33+
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
34+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
35+
<!-- Optional: Include PDB in the built .nupkg -->
36+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
37+
</PropertyGroup>
38+
3039
<ItemGroup>
31-
<PackageReference Include="GitLink" Version="3.1.0">
32-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
33-
<PrivateAssets>all</PrivateAssets>
34-
</PackageReference>
3540
<PackageReference Include="MsgPack.Light" Version="1.6.2" />
3641
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
3742
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
43+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" Condition=" '$(IsDocker)' != 'defined' ">
44+
<PrivateAssets>all</PrivateAssets>
45+
</PackageReference>
3846
</ItemGroup>
3947

4048
<ItemGroup>

0 commit comments

Comments
 (0)