aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-01-13 09:19:24 +0200
committerAvi Levkovich <avi@twine-s.com>2020-01-13 09:19:24 +0200
commitfd0d8d7668aefea359dad4d7737bb4c71344a292 (patch)
tree85068eed5cae59724820de8b63143005a3d9506c /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI
parent78d001b5ba7f6fac4fe44a266692addbdc19d6ac (diff)
parent3bdeaff66bdfe57d67b27ca7fd8194604499131f (diff)
downloadTango-fd0d8d7668aefea359dad4d7737bb4c71344a292.tar.gz
Tango-fd0d8d7668aefea359dad4d7737bb4c71344a292.zip
merge conflicts
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";