From c1e73344c3b1306582fef137931fcd70edcd6d4b Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 20 Nov 2018 17:03:15 +0200 Subject: Fixed some issues with machine studio. Started working on statistics module. --- .../TFS/TeamFoundationServiceExtendedClient.cs | 6 ++++++ .../Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs index 0ff66f355..edce9d3c1 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs @@ -160,6 +160,12 @@ namespace Tango.MachineStudio.UI.TFS item.Type = WorkItemType.Bug; var bitmap = UIHelper.TakeSnapshot(MainWindow.Instance); + + if (!_tempFolder.Exists()) + { + _tempFolder = TemporaryManager.CreateFolder(); + } + var tempFile = _tempFolder.CreateFile(); bitmap.SaveJpeg(tempFile.Path, 30); diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj index 39f748ceb..1be69bf1c 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj @@ -445,6 +445,10 @@ {d0186ac0-0fcf-4d3b-9619-54812b6e524b} Tango.MachineStudio.RML + + {8a65ad6a-a9b4-48c0-9301-4b7434b712f8} + Tango.MachineStudio.Statistics + {22c2aa72-9493-4d0d-b421-8ef9789fb192} Tango.MachineStudio.Stubs -- cgit v1.3.1