diff --git a/csharp/Google.Protobuf.Tools.targets b/csharp/Google.Protobuf.Tools.targets index 0d0b67254..682e11b02 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 +