Skip to content

Commit 34940c0

Browse files
authored
Exclude archive diff target on pgo leg (#18918)
2 parents 8d53942 + e27cdf1 commit 34940c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SourceBuild/content/build.proj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
</Target>
2727

2828
<Import Project="$(RepositoryEngineeringDir)build.sourcebuild.targets" Condition="'$(DotNetBuildSourceOnly)' == 'true'" />
29-
<!-- ShortStack doesn't produce an SDK, and GetClosestOfficialSdk doesn't support finding non-portable SDKs -->
30-
<Import Project="$(RepositoryEngineeringDir)sdkArchiveDiff.targets" Condition="'$(ShortStack)' != 'true' and '$(PortableBuild)' == 'true'" />
29+
<Import Project="$(RepositoryEngineeringDir)sdkArchiveDiff.targets" Condition="'$(ShortStack)' != 'true' and '$(PortableBuild)' == 'true' and '$(PgoInstrument)' != 'true'" />
3130

3231
<!-- Intentionally below the import to appear at the end. -->
3332
<Target Name="LogBuildOutputFolders"

0 commit comments

Comments
 (0)