diff options
author | Matt Ward <matt.ward@xamarin.com> | 2015-06-24 15:40:25 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@xamarin.com> | 2015-06-24 15:40:25 +0300 |
commit | 05735f1c157a9dc0f130171bdda61f2eb1c506ed (patch) | |
tree | bcca48fa5276750efa68ba89529e9202913b8ead /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs | |
parent | 2202738c9357d0205e66753f220fc4108b195e10 (diff) | |
parent | 7ed525f74eb4177fcf9ea47b68a0d354d9af3cc7 (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.cs | 3 |
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) { |