aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/SourceLink.csproj.include
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-01-09 13:49:37 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2018-01-09 13:49:37 -0800
commitb04efac6a5ac0842bc2b6c3e72b786b646644ac0 (patch)
treeca70be08a55ea3aeade97e226b232b1786c63656 /src/csharp/Grpc.Core/SourceLink.csproj.include
parentb928fd496efbe2265169077bcfdf684f7ad6aea3 (diff)
parent0ea629c61ec70a35075e800bc3f85651f00e746f (diff)
Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing
Diffstat (limited to 'src/csharp/Grpc.Core/SourceLink.csproj.include')
-rwxr-xr-xsrc/csharp/Grpc.Core/SourceLink.csproj.include19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/SourceLink.csproj.include b/src/csharp/Grpc.Core/SourceLink.csproj.include
new file mode 100755
index 0000000000..02ae79fb89
--- /dev/null
+++ b/src/csharp/Grpc.Core/SourceLink.csproj.include
@@ -0,0 +1,19 @@
+<!-- Ensure that debugging of the resulting NuGet packages work (we're using SourceLink). -->
+<Project>
+
+ <ItemGroup Label="dotnet pack instructions">
+ <Content Include="$(OutputPath)netstandard1.5\$(PackageId).pdb">
+ <Pack>true</Pack>
+ <PackagePath>lib/netstandard1.5</PackagePath>
+ </Content>
+ <Content Include="$(OutputPath)net45\$(PackageId).pdb">
+ <Pack>true</Pack>
+ <PackagePath>lib/net45</PackagePath>
+ </Content>
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.7.3" PrivateAssets="all" />
+ </ItemGroup>
+
+</Project>