-
Notifications
You must be signed in to change notification settings - Fork 0
/
UpgradeLog.htm
124 lines (110 loc) · 22.3 KB
/
UpgradeLog.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><link type="text/css" rel="stylesheet" href="_UpgradeReport_Files\UpgradeReport.css" /><title _locID="ConversionReport0">
Migration Report
</title><script type="text/javascript" language="javascript">
// Startup
// Hook up the the loaded event for the document/window, to linkify the document content
var startupFunction = function() { linkifyElement("messages"); };
if(window.attachEvent)
{
window.attachEvent('onload', startupFunction);
}
else if (window.addEventListener)
{
window.addEventListener('load', startupFunction, false);
}
else
{
document.addEventListener('load', startupFunction, false);
}
// Toggles the visibility of table rows with the specified name
function toggleTableRowsByName(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
if(!!currentName && currentName.indexOf(name) == 0)
{
var isVisible = allRows[i].style.display == '';
isVisible ? allRows[i].style.display = 'none' : allRows[i].style.display = '';
}
}
}
function scrollToFirstVisibleRow(name)
{
var allRows = document.getElementsByTagName('tr');
for (i=0; i < allRows.length; i++)
{
var currentName = allRows[i].getAttribute('name');
var isVisible = allRows[i].style.display == '';
if(!!currentName && currentName.indexOf(name) == 0 && isVisible)
{
allRows[i].scrollIntoView(true);
return true;
}
}
return false;
}
// Linkifies the specified text content, replaces candidate links with html links
function linkify(text)
{
if(!text || 0 === text.length)
{
return text;
}
// Find {DriveLetter}:\Something or \\{uncshare}\something strings and replace them with file:/// links
// It expects that a path ends in .extension, and that that extension does not have a space within it,
// it does this as not to greedily match in the case of "Text C:\foo\file.txt some other text"
var filePath = /([A-z]\:|\\{2}[A-z].+)\\([^<]+)\.([^<\s]+)/gi;
// Find http, https and ftp links and replace them with hyper links
var urlLink = /(http|https|ftp)\:\/\/[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?\/?([a-zA-Z0-9\-\._\?\,\/\\\+&%\$#\=~;\{\}])*/gi;
return text.replace(filePath, '<a class="localLink" href="file:///$&">$&</a>')
.replace(urlLink, '<a href="$&">$&</a>') ;
}
// Linkifies the specified element by ID
function linkifyElement(id)
{
var element = document.getElementById(id);
if(!!element)
{
element.innerHTML = linkify(element.innerHTML);
}
}
function ToggleMessageVisibility(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
toggleTableRowsByName("MessageRowClass" + projectName);
toggleTableRowsByName('MessageRowHeaderShow' + projectName);
toggleTableRowsByName('MessageRowHeaderHide' + projectName);
}
function ScrollToFirstVisibleMessage(projectName)
{
if(!projectName || 0 === projectName.length)
{
return;
}
// First try the 'Show messages' row
if(!scrollToFirstVisibleRow('MessageRowHeaderShow' + projectName))
{
// Failed to find a visible row for 'Show messages', try an actual message row
scrollToFirstVisibleRow('MessageRowClass' + projectName);
}
}
</script></head><body><h1 _locID="ConversionReport">
Migration Report - </h1><div id="content"><h2 _locID="OverviewTitle">Overview</h2><div id="overview"><table><tr><th></th><th _locID="ProjectTableHeader">Project</th><th _locID="PathTableHeader">Path</th><th _locID="ErrorsTableHeader">Errors</th><th _locID="WarningsTableHeader">Warnings</th><th _locID="MessagesTableHeader">Messages</th></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Error.png" alt="Error" /></td><td><strong><a href="#HappyFunLink">HappyFunLink</a></strong></td><td>Template Project\HappyFunLink.csproj</td><td class="textCentered"><a href="#HappyFunLinkError">1</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Success.png" alt="Success" /></td><td><strong><a href="#CodeAnalysis">CodeAnalysis</a></strong></td><td>CodeAnalysis</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Success.png" alt="Success" /></td><td><strong><a href="#Data">Data</a></strong></td><td>Data\Data.csproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Success.png" alt="Success" /></td><td><strong><a href="#Domain">Domain</a></strong></td><td>Domain\Domain.csproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Success.png" alt="Success" /></td><td><strong><a href="#Entities">Entities</a></strong></td><td>Entities\Entities.csproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Success.png" alt="Success" /></td><td><strong><a href="#WebCore">WebCore</a></strong></td><td>WebCore\WebCore.csproj</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#">0</a></td></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Success.png" alt="Success" /></td><td><strong><a href="#Solution">Solution</a></strong></td><td>HappyFunLink.sln</td><td class="textCentered"><a>0</a></td><td class="textCentered"><a>0</a></td><td class="textCentered"><a href="#" onclick="ScrollToFirstVisibleMessage('Solution'); return false;">1</a></td></tr></table></div><h2 _locID="SolutionAndProjectsTitle">Solution and projects</h2><div id="messages"><a name="HappyFunLink" /><h3>HappyFunLink</h3><table><tr id="HappyFunLinkHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr name="ErrorRowClassHappyFunLink"><td><a name="HappyFunLinkError" /><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Error.png" alt="Error" /></td><td class="messageCell"><strong>Template Project\HappyFunLink.csproj:
</strong><span>Unable to open project file to perform upgrade. </span></td></tr></table><a name="CodeAnalysis" /><h3>CodeAnalysis</h3><table><tr id="CodeAnalysisHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell" _locID="NoMessagesRow">CodeAnalysis logged no messages.
</td></tr></table><a name="Data" /><h3>Data</h3><table><tr id="DataHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell" _locID="NoMessagesRow">Data logged no messages.
</td></tr></table><a name="Domain" /><h3>Domain</h3><table><tr id="DomainHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell" _locID="NoMessagesRow">Domain logged no messages.
</td></tr></table><a name="Entities" /><h3>Entities</h3><table><tr id="EntitiesHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell" _locID="NoMessagesRow">Entities logged no messages.
</td></tr></table><a name="WebCore" /><h3>WebCore</h3><table><tr id="WebCoreHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell" _locID="NoMessagesRow">WebCore logged no messages.
</td></tr></table><a name="Solution" /><h3>Solution</h3><table><tr id="SolutionHeaderRow"><th></th><th class="messageCell" _locID="MessageTableHeader">Message</th></tr><tr name="MessageRowHeaderShowSolution"><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell"><a _locID="ShowAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
Show 1 additional messages
</a></td></tr><tr name="MessageRowClassSolution" style="display: none"><td><a name="SolutionMessage" /><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" alt="Message" /></td><td class="messageCell"><strong>HappyFunLink.sln:
</strong><span>The solution file does not require conversion.</span></td></tr><tr style="display: none" name="MessageRowHeaderHideSolution"><td><img width="16" height="16" src="_UpgradeReport_Files\UpgradeReport_Information.png" /></td><td class="messageCell"><a _locID="HideAdditionalMessages" href="#" name="SolutionMessage" onclick="ToggleMessageVisibility('Solution'); return false;">
Hide 1 additional messages
</a></td></tr></table></div></div></body></html>