mono/mono — pull request #511 by pruiz (2012-11-24 01:03:51+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
(e3b9881e5707953bd37fb3ed0dbeab93e6603a5e) 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