[bcl] Fix the parallel build in the tools dir. (#5236)
[mono.git] / mcs / tools / mono-api-html / AssemblyComparer.cs
index adbd862eb923bcba7c67f3a792b30862d6c78234..f09ab497ee01a17e91dea151682ffb5d7121cc50 100644 (file)
@@ -66,7 +66,13 @@ namespace Xamarin.ApiDiff {
                {
                        SourceAssembly = source.GetAttribute ("name");
                        TargetAssembly = target.GetAttribute ("name");
-                       // TODO: version
+
+                       var sb = source.GetAttribute ("version");
+                       var tb = target.GetAttribute ("version");
+                       if (sb != tb) {
+                               Output.WriteLine ("<h4>Assembly Version Changed: {0} vs {1}</h4>", tb, sb);
+                       }
+
                        // ? custom attributes ?
                        comparer.Compare (source, target);
                }