Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow source-build cache setup if SetUpSourceBuildIntermediateNupkgCache is true #15854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025

Conversation

ellahathaway
Copy link
Member

This PR unblocks dotnet/source-build-reference-packages#1253 and resolves a regression introduced by #15810.

The regression stems from changes that require passing /p:DotNetBuildRepo=true or /p:ArcadeBuildFromSource=true in order to set up the source-build intermediate cache. Due to the logic in DotNetBuild.props, passing these properties when building dependency package projects causes infinite recursing.

To break the recursion and issues caused by the lack of SB intermediate cache, the import of SourceBuildArcadeTools.targets must be conditioned not only on DotNetBuildRepo or ArcadeBuildFromSource, but also on SetUpSourceBuildIntermediateNupkgCache.

@ellahathaway ellahathaway enabled auto-merge (squash) May 21, 2025 19:18
@ellahathaway ellahathaway merged commit 086a177 into dotnet:release/9.0 May 21, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants