mono/mono — pull request #513 by pruiz (2012-11-27 17:56:07+00:00)
Title: Fixed xamarin-bug #8565: System.Runtime.Serialization assembly remapping bug when targeting 2/3/3.5 profile.

The problem is related to a fix for issues #8037 & #6528
(e3b9881) which seems to be breaking shadow copy
with programs targeting .net35 and referencing System.Runtime.Serialization.dll

The fix consists on adding a new version_set entry to each supported_runtime
at mono/metadata/domain.c so I we cope with the case of assemblies which must
be remapped to v4.0 on net4/net45, but which should be remapped to v3.0 (instead
of v3.5) when targeting net2 or net3x.

See: https://bugzilla.xamarin.com/show_bug.cgi?id=8565

License: This patch is under the MIT/X11 license.