private void GetProjectArtifacts() { if (string.IsNullOrWhiteSpace(Settings.Default.TfsServerName)) { if (_messageBoxService.ShowOkCancel("TFS Server name must first be specified. Enter now?", "Required Data")) { IoC.Get <MainViewModel>().SettingsCommand.Execute(null); } } if (string.IsNullOrWhiteSpace(Settings.Default.TfsServerName)) { return; } if (null == this.WorkItemTitle) { _messageBoxService.ShowOKDispatch("It does not appear you supplied a valid work item.", "Work Item Title"); return; } IsFetching = true; FetchText = "Fetching..."; Trace.WriteLine("Project: " + this.ProjectId); Clear(); Settings.Default.MassLastSourceControlExclusions = this.SourceControlExclusionsText; Settings.Default.MassLastWorkItemId = this.ProjectId; Settings.Default.Save(); ArtifactWorker.RunWorkerAsync(this.ProjectId); }