Skip to content

Commit 26a3598

Browse files
committed
Added Sourcelink
1 parent e1683b1 commit 26a3598

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/Unity.Interception.csproj

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.0' AND '$(TargetFramework)' != 'netcoreapp2.0'">
4343

4444
</ItemGroup>
45-
45+
4646
<ItemGroup>
4747
<EmbeddedResource Update="Properties\Resources.resx">
4848
<Generator>ResXFileCodeGenerator</Generator>
@@ -97,4 +97,19 @@
9797
<Compile Remove="Interceptors\InstanceInterceptors\TransparentProxyInterception\*.cs" />
9898
</ItemGroup>
9999

100+
<!-- Sourcelink -->
101+
<PropertyGroup>
102+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
103+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
104+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
105+
</PropertyGroup>
106+
107+
<ItemGroup>
108+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05">
109+
<PrivateAssets>all</PrivateAssets>
110+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
111+
</PackageReference>
112+
<PackageReference Include="System.ValueTuple" Version="4.5.*" />
113+
</ItemGroup>
114+
100115
</Project>

0 commit comments

Comments
 (0)