Skip to content

Commit c024de5

Browse files
committed
Add explicit path to TAR
1 parent e233890 commit c024de5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
175175
Overwrite="true" />
176176
<!-- Requires Windows 10 version 1803 or newer -->
177177
<Exec
178-
Command="tar -czf $(TarArchiveOutputPath) ."
178+
Command="C:\Windows\System32\tar -czf $(TarArchiveOutputPath) ."
179179
WorkingDirectory="$(TargetingPackLayoutRoot)" />
180180
<Message Importance="High" Text="$(MSBuildProjectName) -> $(TarArchiveOutputPath)" />
181181
</Target>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
371371

372372
<!-- Extract the dotnet-runtime archive -->
373373
<Exec Condition="'$(ArchiveExtension)' == '.tar.gz'"
374-
Command="tar -xzf $(DotNetRuntimeArchive) -C $(RedistSharedFrameworkLayoutRoot)" />
374+
Command="C:\Windows\System32\tar -xzf $(DotNetRuntimeArchive) -C $(RedistSharedFrameworkLayoutRoot)" />
375375

376376
<Unzip Condition="'$(ArchiveExtension)' == '.zip'"
377377
SourceFiles="$(DotNetRuntimeArchive)"
@@ -436,7 +436,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
436436
Overwrite="true"
437437
Condition="'$(ArchiveExtension)' == '.zip'" />
438438
<Exec
439-
Command="tar -czf $(InternalArchiveOutputPath) ."
439+
Command="C:\Windows\System32\tar -czf $(InternalArchiveOutputPath) ."
440440
WorkingDirectory="$(SharedFrameworkLayoutRoot)"
441441
Condition="'$(ArchiveExtension)' == '.tar.gz'" />
442442
</Target>
@@ -453,7 +453,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
453453
Overwrite="true"
454454
Condition="'$(ArchiveExtension)' == '.zip'" />
455455
<Exec
456-
Command="tar -czf $(RedistArchiveOutputPath) ."
456+
Command="C:\Windows\System32\tar -czf $(RedistArchiveOutputPath) ."
457457
WorkingDirectory="$(RedistSharedFrameworkLayoutRoot)"
458458
Condition="'$(ArchiveExtension)' == '.tar.gz'" />
459459
</Target>

0 commit comments

Comments
 (0)