Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 535 Bytes

sync_shims_to_latest_project_model.md

File metadata and controls

11 lines (9 loc) · 535 Bytes

Sync up shims to latest project model

After using the new CPS APIs to update a project, you may at times need to know when (and perhaps expedite) the IVsHierarchy, DTE, and other legacy shims have been updated with the latest project state.

To accomplish this, you must acquire the IProjectTreeService export and call its PublishLatestTreeAsync method. That method returns a Task that completes when the IVsHierarchy object model has been updated.