aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-11-20 17:03:15 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-11-20 17:03:15 +0200
commitc1e73344c3b1306582fef137931fcd70edcd6d4b (patch)
tree84fd6585a7944318e47f997b930e13b7fd14b9df /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS
parentc272cdaaa43f7bf2fefcb36bbfe49624fc4a5ff1 (diff)
downloadTango-c1e73344c3b1306582fef137931fcd70edcd6d4b.tar.gz
Tango-c1e73344c3b1306582fef137931fcd70edcd6d4b.zip
Fixed some issues with machine studio.
Started working on statistics module.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs6
1 files changed, 6 insertions, 0 deletions
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);