From 906ce37a35427fee4df40c039dbe9ba74c0d9604 Mon Sep 17 00:00:00 2001 From: "Kraemer, Benjamin" Date: Tue, 5 May 2020 14:42:17 +0200 Subject: [PATCH] Improved folder generation --- .../build/_protobuf/Google.Protobuf.Tools.targets | 8 +++++--- 1 file changed, 5 insertions(+), 3 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 40c5d5bd3dc..8b286593647 100644 --- a/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets +++ b/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets @@ -259,9 +259,11 @@ Condition=" '$(DisableProtobufDesignTimeBuild)' != 'true' " DependsOnTargets="Protobuf_PrepareCompileOptions;_Protobuf_GatherStaleFiles"> - - - + + <_Protobuf_ExpectedGenerated Include="@(Protobuf_ExpectedOutputs)" + Condition = " '%(Source)' != '' and '@(_Protobuf_OutOfDateProto)' != '' " /> + +