Fix ProjectReferenceTargets for Publish and Rebuild (#7844)
Fix ProjectReferenceTargets for Publish and Rebuild (#7844)

* Fix ProjectReferenceTargets for Publish
* Account for --no-build
* Tune Rebuild outer build for accuracy
sean-gilliam/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild