From 394866c00241b44eb2936b6b1e275b36576ea806 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 14 May 2018 15:46:03 -0500 Subject: enable source link for csharp (#4179) --- csharp/build_packages.bat | 2 +- csharp/src/Google.Protobuf/Google.Protobuf.csproj | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'csharp') diff --git a/csharp/build_packages.bat b/csharp/build_packages.bat index d7205659..8157bbab 100644 --- a/csharp/build_packages.bat +++ b/csharp/build_packages.bat @@ -1,7 +1,7 @@ @rem Builds Google.Protobuf NuGet packages dotnet restore src/Google.Protobuf.sln -dotnet pack -c Release src/Google.Protobuf.sln || goto :error +dotnet pack -c Release src/Google.Protobuf.sln /p:SourceLinkCreate=true || goto :error goto :EOF diff --git a/csharp/src/Google.Protobuf/Google.Protobuf.csproj b/csharp/src/Google.Protobuf/Google.Protobuf.csproj index 6e4e1e2b..93dcd854 100644 --- a/csharp/src/Google.Protobuf/Google.Protobuf.csproj +++ b/csharp/src/Google.Protobuf/Google.Protobuf.csproj @@ -17,8 +17,6 @@ https://github.com/google/protobuf/blob/master/LICENSE git https://github.com/google/protobuf.git - true - true