Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2017-02-09 19:09:36 +0300
committerGitHub <noreply@github.com>2017-02-09 19:09:36 +0300
commit33e69e5df3c62c2c4084cf1b8de26fda93c5e843 (patch)
tree5954b5e228ff485332c8887ea669e28fb07ee6db
parent721027baaf094c3fc94b5da335f6407b1c213e74 (diff)
parentd5c39eed521301416def67dd13ed8a89168a085a (diff)
Merge pull request #1850 from mono/cycle9-fix52378monodevelop-6.2.0.1812
Fixed 'Bug 52378 - Code completion broken on standalone files'
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs2
1 files changed, 2 insertions, 0 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 45004926cc..dfd5affc44 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
@@ -856,7 +856,9 @@ 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;
if (token.IsCancellationRequested)
return;
UnsubscribeRoslynWorkspace ();