Skip to content

Commit 585907c

Browse files
Copilotkotlarmilos
andcommitted
Fix build race condition in IncludeAdb target
Co-authored-by: kotlarmilos <[email protected]>
1 parent b0053bc commit 585907c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<RemoveDir Directories="$(BaseIntermediateOutputPath)/android-tools-unzipped/windows/platform-tools/systrace;$(BaseIntermediateOutputPath)/android-tools-unzipped/linux/platform-tools/systrace;$(BaseIntermediateOutputPath)/android-tools-unzipped/macos/platform-tools/systrace" />
6060
</Target>
6161

62-
<Target Name="IncludeAdb" BeforeTargets="DispatchToInnerBuilds" DependsOnTargets="GenerateCGManifest" Condition="'$(SkipAdb)' != 'true'">
62+
<Target Name="IncludeAdb" BeforeTargets="DispatchToInnerBuilds" DependsOnTargets="DownloadAdb;GenerateCGManifest" Condition="'$(SkipAdb)' != 'true'">
6363
<ItemGroup>
6464
<WindowsAdbFiles Include="$(BaseIntermediateOutputPath)/android-tools-unzipped/windows/platform-tools/adb.exe" />
6565
<WindowsAdbFiles Include="$(BaseIntermediateOutputPath)/android-tools-unzipped/windows/platform-tools/AdbWinApi.dll" />

0 commit comments

Comments
 (0)