Skip to content

Commit d718594

Browse files
committed
Added Sourcelink
1 parent 485373f commit d718594

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Unity.Microsoft.DependencyInjection.csproj

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,19 @@
5757
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.2.0" />
5858
</ItemGroup>
5959

60+
<!-- Sourcelink -->
61+
<PropertyGroup>
62+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
63+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
64+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
65+
</PropertyGroup>
66+
67+
<ItemGroup>
68+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05">
69+
<PrivateAssets>all</PrivateAssets>
70+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
71+
</PackageReference>
72+
<PackageReference Include="System.ValueTuple" Version="4.5.*" />
73+
</ItemGroup>
6074

6175
</Project>

0 commit comments

Comments
 (0)