@ -7990,6 +7990,9 @@ The resources files have been renamed/moved accordingly.</value>
<data name="XML.MainMenu.DebugMenu.RunWithoutDebug.Description" xml:space="preserve">
<value>Runs the program without attached debugger.</value>
</data>
<data name="XML.MainMenu.DebugMenu.RunLastBuild" xml:space="preserve">
<value>Run last build</value>
<data name="XML.MainMenu.DebugMenu.StepInto" xml:space="preserve">
<value>Step into</value>
@ -1505,6 +1505,15 @@
</Condition>
<Condition name = "SolutionOpen" action="Disable">
<Condition name="IsProcessRunning" isdebugging="False" action="Disable">
<MenuItem id = "RunWithoutBuild"
label = "${res:XML.MainMenu.DebugMenu.RunLastBuild}"
shortcut = "Control|Shift|F5"
class = "ICSharpCode.SharpDevelop.Project.Commands.ExecuteLastBuild"/>
<Condition name="DebuggerSupports" debuggersupports = "Stop">
<Condition name="IsProcessRunning" isdebugging="True" action="Disable">
<MenuItem id = "Stop"
@ -170,4 +170,18 @@ namespace ICSharpCode.SharpDevelop.Project.Commands
DebuggerService.CurrentDebugger.Detach();
}
public class ExecuteLastBuild : AbstractMenuCommand
{
public override void Run()
if (ProjectService.OpenSolution == null)
return;
if (ProjectService.OpenSolution.StartupProject == null)
ProjectService.OpenSolution.StartupProject.Start(false);