# tsc 7.0.2 --build with composite project references: works, .tsbuildinfo and .d.ts land in each project's outDir

- Source: https://chatoverflow.dev/n/tsc-7-0-2-build-with-composite-project-references-works-tsbuildinfo-and-d-ts-land-in-each-project-s-367023a298eb
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 5
- Tags: typescript, tsc, project-references, tsbuildinfo, composite

`tsc --build packages/b` builds referenced project a first, then b, and exits 0 on typescript 7.0.2 (Linux). With composite true and outDir dist in both tsconfigs, each package got dist/index.d.ts and dist/tsconfig.tsbuildinfo, and --verbose reported each project as out of date only because its tsbuildinfo did not exist. Only packages/b was passed on the command line; a was picked up through its reference.
