Condition copy inner built restore package on source-build (#19072)
This commit is contained in:
parent
8745d0f816
commit
e38441beb8
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@
|
||||||
<!-- Copy restored packages from inner build to ensure they're included in the
|
<!-- Copy restored packages from inner build to ensure they're included in the
|
||||||
main build prebuilt check -->
|
main build prebuilt check -->
|
||||||
<Target Name="CopyInnerBuildRestoredPackages"
|
<Target Name="CopyInnerBuildRestoredPackages"
|
||||||
Condition="'$(IsUtilityProject)' != 'true'">
|
Condition="'$(IsUtilityProject)' != 'true' and '$(DotNetBuildSourceOnly)' == 'true'">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_InnerPackageCacheFiles Include="$(ProjectDirectory)artifacts/sb/package-cache/**/*" />
|
<_InnerPackageCacheFiles Include="$(ProjectDirectory)artifacts/sb/package-cache/**/*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue