diff options
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs index 5b3c3ad055..d7a6a7fba7 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs @@ -884,9 +884,7 @@ namespace MonoDevelop.Ide.Gui adhocSolution = new Solution (); adhocSolution.AddConfiguration ("", true); adhocSolution.DefaultSolutionFolder.AddItem (newProject); - MonoDevelopWorkspace.LoadingFinished -= TypeSystemService_WorkspaceItemLoaded; - return TypeSystemService.Load (adhocSolution, new ProgressMonitor (), token).ContinueWith (task => { - MonoDevelopWorkspace.LoadingFinished += TypeSystemService_WorkspaceItemLoaded; + return TypeSystemService.Load (adhocSolution, new ProgressMonitor (), token, false).ContinueWith (task => { if (token.IsCancellationRequested) return; UnsubscribeRoslynWorkspace (); |