From eb8c6189eac57309c52d0cb11d84818247ce11a7 Mon Sep 17 00:00:00 2001 From: "Kraemer, Benjamin" Date: Thu, 7 May 2020 19:37:00 +0200 Subject: [PATCH] Fix CPP cleanup --- .../_protobuf/Google.Protobuf.Tools.targets | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets b/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets index ad6725f684a..46059b34a73 100644 --- a/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets +++ b/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets @@ -100,6 +100,7 @@ Condition=" '@(Protobuf)' != '' " DependsOnTargets=" Protobuf_BeforeCompile; Protobuf_ResolvePlatform; + _Protobuf_SetProtoRoot; _Protobuf_SelectFiles; Protobuf_PrepareCompile; _Protobuf_AugmentLanguageCompile; @@ -115,27 +116,33 @@ DependsOnTargets="Protobuf_Compile" Condition=" '$(Language)' == 'C#' " /> - + + files outside of project directory, use each .proto file's directory as the root + or Protobuf_ProtoRoot if set. --> + + + + + . + + %(RelativeDir) + + + + + + - - - - . - - - - %(RelativeDir) - + @@ -329,6 +336,7 @@