You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is building a specific project in a solution supposed to work? #149
That should work. I suspect that something is wrong with the MSBuild graph build (which I also heavily contribute to), not necessarily the cache plugin.
Are you able to provide a simple repo for the issue?
Ah, actually scratch that, building any single project in the "real" solution results in either:
a cache miss because of "Ignoring successful build for node COMPANYPROJECT_COMPANY.PROJECT.VCXPROJ_B.BIRF3RA1HPUD8CRMPNBA with non-successful dependency: COMPANYOTHERPROJECT_COMPANYOTHERPROJECT.VCXPROJ_B.BIRF3RA1HPUD8CRMPNBA
Cache Hit Ratio: NaN
But building the whole solution does work, we've been running it in our CI now for a while and its made the job way shorter.
Activity
dfederm commentedon Jan 6, 2026
That should work. I suspect that something is wrong with the MSBuild graph build (which I also heavily contribute to), not necessarily the cache plugin.
Are you able to provide a simple repo for the issue?
eriknilsontenstar commentedon Jan 7, 2026
Hi dfederm, you are indeed correct that it does work! Until it doesn't... I don't understand these results:
So, somewhere between the common library project and the executable it fails... Building the whole solution works as expected.
Is there a way of debugging the graph or something to understand where it might be breaking?
I'll build each of the 11 projects to see if there is a pattern to which break and which don't.
eriknilsontenstar commentedon Jan 7, 2026
Ah, actually scratch that, building any single project in the "real" solution results in either:
But building the whole solution does work, we've been running it in our CI now for a while and its made the job way shorter.