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:
authorMatt Ward <matt.ward@xamarin.com>2015-06-24 15:40:25 +0300
committerMatt Ward <matt.ward@xamarin.com>2015-06-24 15:40:25 +0300
commit05735f1c157a9dc0f130171bdda61f2eb1c506ed (patch)
treebcca48fa5276750efa68ba89529e9202913b8ead /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs
parent2202738c9357d0205e66753f220fc4108b195e10 (diff)
parent7ed525f74eb4177fcf9ea47b68a0d354d9af3cc7 (diff)
Merge remote-tracking branch 'origin/master' into roslyn
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs
index 63ec111bdc..5e7a0c6ea6 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs
@@ -90,7 +90,8 @@ namespace MonoDevelop.Ide.Execution
}
var targets = new List<ExecutionTarget> ();
- FlattenExecutionTargets (targets, project.GetExecutionTargets (IdeApp.Workspace.ActiveConfiguration));
+ if (project != null)
+ FlattenExecutionTargets (targets, project.GetExecutionTargets (IdeApp.Workspace.ActiveConfiguration));
if (targets.Count > 1) {
foreach (var t in targets) {