Skip to content

Commit f726cb4

Browse files
committed
Fixup ref proj
1 parent 4165a02 commit f726cb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,11 @@ This package is an internal implementation of the .NET Core SDK and is not meant
154154
<CreateDirectory Include="$(LocalInstallationOutputPath)" />
155155
</ItemGroup>
156156

157+
<!-- Workaround until https://github.com/dotnet/core-eng/issues/7970 is resolved -->
157158
<PropertyGroup>
158159
<TarCommand Condition="'$(OS)' == 'Windows_NT'">C:\Windows\System32\tar.exe</TarCommand>
160+
<TarCommand Condition="'$(OS)' == 'Windows_NT' and !Exists($(TarCommand))">'C:\Program Files\Git\usr\bin\tar.exe'</TarCommand>
161+
<TarCommand Condition="'$(OS)' == 'Windows_NT' and !Exists($(TarCommand))">'C:\Program Files (x86)\Git\usr\bin\tar.exe'</TarCommand>
159162
<TarCommand Condition="'$(OS)' != 'Windows_NT'">tar</TarCommand>
160163
</PropertyGroup>
161164

0 commit comments

Comments
 (0)