[Mono-dev] Bug in Package.cs due to update in PackageProperties.cs (System.IO.Packaging / Olive)
Yves Dhondt
yves.dhondt at gmail.com
Mon Mar 16 15:36:17 EDT 2009
Hello,
Revision 129478 fixes the NSPackageProperties string to correctly load
PackageProperties. However, the string is also used by Package.cs for
LoadRelationships. The change has broken that function as the string
used to be correct there.
In Package.LoadRelationships, the line:
if (r.RelationshipType ==
System.IO.Packaging.PackageProperties.NSPackageProperties) {
should become:
if (r.RelationshipType ==
"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties")
{
Regards,
Yves
More information about the Mono-devel-list
mailing list