Avoid recompiling the shared framework when publishing to the layout root (#67469)