From 875b3837798ce0145dc2822202b03ea9a9be1295 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 26 Oct 2022 09:55:43 +0200 Subject: [PATCH] Revert "Fix msbuild failing when '@' is present in path (#31133)" This reverts commit 1a5ad72063cba5423e3ea4c0135d7b6401422cc5. --- .../build/_protobuf/Google.Protobuf.Tools.targets | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 f3702c692d275..427e4e741de1f 100644 --- a/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets +++ b/src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets @@ -189,7 +189,7 @@ Condition=" '$(Language)' == 'C#' "> <_Protobuf_CodeCompile Include="@(Protobuf_ExpectedOutputs->Distinct())" - Condition=" '%(Protobuf_Compile.Source)' != '' and '@(Protobuf_Compile->WithMetadataValue('CompileOutputs', 'true'))' != '' " /> + Condition=" '%(Source)' != '' and '@(Protobuf_Compile->WithMetadataValue('CompileOutputs', 'true'))' != '' " /> @@ -208,9 +208,9 @@ not matching any proto marked for compilation. --> - + - + @@ -228,7 +228,7 @@ <_Protobuf_OutOfDateProto Include="@(Protobuf_Compile)" - Condition = " '%(Protobuf_Compile.Source)' != '' and '@(Protobuf_ExpectedOutputs)' == '' "> + Condition = " '%(Source)' != '' and '@(Protobuf_ExpectedOutputs)' == '' "> <_Exec>true @@ -238,11 +238,11 @@ will be recompiled on every build, as there is nothing to run up-to-date check against. Set Protobuf_NoOrphanWarning to 'true' to suppress if this is what you want. --> + Text="The following files have no known outputs, and will be always recompiled as if out-of-date: @(_Protobuf_Orphans->' %(Identity)', '')" /> + Condition=" '%(Source)' != '' and '@(_Protobuf_OutOfDateProto)' != '' " />