Skip to content

Commit 4165a02

Browse files
committed
Try a few tar paths
1 parent 80ef2a6 commit 4165a02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,11 @@ This package is an internal implementation of the .NET Core SDK and is not meant
364364
#########################################
365365
-->
366366

367+
<!-- Workaround until https://github.com/dotnet/core-eng/issues/7970 is resolved -->
367368
<PropertyGroup>
368369
<TarCommand Condition="'$(OS)' == 'Windows_NT'">C:\Windows\System32\tar.exe</TarCommand>
370+
<TarCommand Condition="'$(OS)' == 'Windows_NT' and !Exists($(TarCommand))">'C:\Program Files\Git\usr\bin\tar.exe'</TarCommand>
371+
<TarCommand Condition="'$(OS)' == 'Windows_NT' and !Exists($(TarCommand))">'C:\Program Files (x86)\Git\usr\bin\tar.exe'</TarCommand>
369372
<TarCommand Condition="'$(OS)' != 'Windows_NT'">tar</TarCommand>
370373
</PropertyGroup>
371374

0 commit comments

Comments
 (0)