Handle solution traversal targets in graph builds - #9985
Merged
JanKrivanek merged 2 commits intoApr 19, 2024
Conversation
dfederm
force-pushed
the
fix-graph-sln-traversal-targets
branch
from
April 9, 2024 22:54
26e96b5 to
aa7e3ae
Compare
JanKrivanek
approved these changes
Apr 17, 2024
JanKrivanek
left a comment
Member
There was a problem hiding this comment.
Overall looks good.
I just was confused about /t:ProjectName:Build - why is that not supported?
f-alizada
approved these changes
Apr 18, 2024
1 task
This was referenced Jul 28, 2025
Closed
Closed
This was referenced Aug 4, 2025
Closed
Closed
This was referenced Aug 15, 2025
Closed
This was referenced Apr 10, 2026
This was referenced Apr 23, 2026
Closed
This was referenced May 7, 2026
This was referenced May 15, 2026
This was referenced Jun 10, 2026
This was referenced Jun 20, 2026
This was referenced Jul 10, 2026
This was referenced Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9952
This change adds understanding of "solution traversal" targets to graph builds. The special targets are like "ProjectName" or "ProjectName:TargetName" and can be used to build specific projects in a sln or specific targets on specific projects in a sln.
Also added some missing UTs for
SolutionProjectGeneratorto help my understanding for how these kinds of targets work.