diff --git a/src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectTracker.cs b/src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectTracker.cs index ba65d9cb02ed1018334fedc0fd7fefc8ce31bcff..7ae2a4ffe0d4bbf32c7c3d19f5191c2b3e470c0b 100644 --- a/src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectTracker.cs +++ b/src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectTracker.cs @@ -215,9 +215,12 @@ internal void AddProject(AbstractProject project) internal void StartPushingToWorkspaceAndNotifyOfOpenDocuments(IEnumerable projects) { - foreach (var hostState in _workspaceHosts) + using (Dispatcher.CurrentDispatcher.DisableProcessing()) { - hostState.StartPushingToWorkspaceAndNotifyOfOpenDocuments(projects); + foreach (var hostState in _workspaceHosts) + { + hostState.StartPushingToWorkspaceAndNotifyOfOpenDocuments(projects); + } } }