* XmlSerializer.cs: updated to work with shadowcopy fixes.
svn path=/trunk/mcs/; revision=121275
+
+2008-12-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * XmlSerializer.cs: updated to work with shadowcopy fixes.
+
2008-11-05 Atsushi Enomoto <atsushi@ximian.com>
* TypeData.cs : do not reject ICollection<T> for not implementing
foreach (Type rtype in gen.ReferencedTypes)
{
- if (!cp.ReferencedAssemblies.Contains (rtype.Assembly.Location))
- cp.ReferencedAssemblies.Add (rtype.Assembly.Location);
+ string path = new Uri (rtype.Assembly.CodeBase).LocalPath;
+ if (!cp.ReferencedAssemblies.Contains (path))
+ cp.ReferencedAssemblies.Add (path);
}
if (!cp.ReferencedAssemblies.Contains ("System.dll"))