private void ProjectBuildStopCommand_Executed(object sender, ExecutedRoutedEventArgs e) { // Force update of script interface ProjectBuildStopButton.Focus(); // Request build to stop. ForceStopBuild(); }
private void ProjectBuildStopCommand_Executed(object sender, ExecutedRoutedEventArgs e) { // Force update of script interface ProjectBuildStopButton.Focus(); // Do not set Engine.WorkingEngine to null, it will take some time to finish a build. Engine.WorkingEngine?.ForceStop(); }