aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI
diff options
context:
space:
mode:
authorShai Frieder <Shai.Frieder@twine-s.com>2020-01-13 17:01:41 +0200
committerShai Frieder <Shai.Frieder@twine-s.com>2020-01-13 17:01:41 +0200
commit3e2ab97457a5d7c876567ddbf28a93165833e12f (patch)
tree32be78ba1418d178f305039445a1b9cdd9a00bc1 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI
parentc4c82bca3448b47f9f27bf91cf9760fefbfcf995 (diff)
parentfd0d8d7668aefea359dad4d7737bb4c71344a292 (diff)
downloadTango-3e2ab97457a5d7c876567ddbf28a93165833e12f.tar.gz
Tango-3e2ab97457a5d7c876567ddbf28a93165833e12f.zip
merge
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs14
1 files changed, 14 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 b3e121253..bfd5b0557 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs
@@ -241,6 +241,20 @@ namespace Tango.MachineStudio.UI.TFS
}
}
+ //Add session log file..
+ if (MachineOperator.EnableSessionLogFile)
+ {
+ var file = MachineOperator.SessionLogger.LogFile;
+ var sessionLogFile = _tempFolder.CreateImaginaryFile();
+ File.Copy(file, sessionLogFile.Path);
+ item.Attachments.Add(new Attachment()
+ {
+ Description = "Session Log File",
+ FilePath = sessionLogFile.Path,
+ Name = Path.GetFileName(file),
+ });
+ }
+
SystemInformationModel sysModel = new SystemInformationModel();
sysModel.ApplicationVersion = app.Version.ToString();
sysModel.EmbeddedVersion = "N/A";