comparison jet-symbols/src/JetBrains.CommandLine.Symbols/DumpFilesSignCommandBase.cs @ 103:9ff982a9213e

report full pdb file path instead of file name when collecting pdb signatures
author Evgeniy.Koshkin@unit-519.Labs.IntelliJ.Net
date Mon, 16 May 2016 19:43:39 +0300
parents 0e927b14ccf1
children
comparison
equal deleted inserted replaced
102:0e927b14ccf1 103:9ff982a9213e
54 XmlDocument xmlDocument = new XmlDocument(); 54 XmlDocument xmlDocument = new XmlDocument();
55 XmlNode node = xmlDocument.CreateNode(XmlNodeType.Element, "file-signs", ""); 55 XmlNode node = xmlDocument.CreateNode(XmlNodeType.Element, "file-signs", "");
56 foreach (KeyValuePair<FileSystemPath, string> signature in signatures) 56 foreach (KeyValuePair<FileSystemPath, string> signature in signatures)
57 { 57 {
58 XmlElement element = node.CreateElement("file-sign-entry"); 58 XmlElement element = node.CreateElement("file-sign-entry");
59 element.CreateAttributeWithNonEmptyValue("file", signature.Key.Name); 59 element.CreateAttributeWithNonEmptyValue("file", signature.Key.FullPath);
60 string str = signature.Value; 60 string str = signature.Value;
61 if (str != null) 61 if (str != null)
62 element.CreateAttributeWithNonEmptyValue("sign", str); 62 element.CreateAttributeWithNonEmptyValue("sign", str);
63 } 63 }
64 xmlDocument.AppendChild(node); 64 xmlDocument.AppendChild(node);