Yes. Great for debugging too.
> I think this can be done relatively easily in a csproj with conditional references though?
Maybe, but you’d have to do this manually for all the projects in a solution. This is built into the tooling and produces a .gitignore-able file