From 3d603f481ed142d0be5e8e4dd6d1cb4457a51405 Mon Sep 17 00:00:00 2001 From: Sydney Acksman Date: Mon, 25 Jun 2018 18:21:30 -0400 Subject: Remove protoc conditional properties (#4817) * Remove protoc conditional properties * Fix duplicate brace --- csharp/Google.Protobuf.Tools.targets | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/csharp/Google.Protobuf.Tools.targets b/csharp/Google.Protobuf.Tools.targets index 0d0b6725..682e11b0 100644 --- a/csharp/Google.Protobuf.Tools.targets +++ b/csharp/Google.Protobuf.Tools.targets @@ -1,16 +1,11 @@ - + - $(MSBuildThisFileDirectory)..\tools\linux_x64\protoc - $(MSBuildThisFileDirectory)..\tools\linux_x86\protoc - $(MSBuildThisFileDirectory)..\tools\macosx_x64\protoc - $(MSBuildThisFileDirectory)..\tools\macosx_x86\protoc - $(MSBuildThisFileDirectory)..\tools\windows_x64\protoc.exe - $(MSBuildThisFileDirectory)..\tools\windows_x86\protoc.exe - $(protoc_linux64) - $(protoc_linux86) - $(protoc_macosx64) - $(protoc_macosx86) - $(protoc_windows64) - $(protoc_windows86) + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)/../tools/')) + $([System.IO.Path]::GetFullPath('$(protoc_tools)/linux_x64/protoc')) + $([System.IO.Path]::GetFullPath('$(protoc_tools)/linux_x86/protoc')) + $([System.IO.Path]::GetFullPath('$(protoc_tools)/macosx_x64/protoc')) + $([System.IO.Path]::GetFullPath('$(protoc_tools)/macosx_x86/protoc')) + $([System.IO.Path]::GetFullPath('$(protoc_tools)/windows_x64/protoc.exe')) + $([System.IO.Path]::GetFullPath('$(protoc_tools)/windows_x86/protoc.exe')) - \ No newline at end of file + -- cgit v1.2.3