[loader] Don't load framework Facade assemblies that are older than expected. (#7663)
commitb77313855c232c73fc9944b5172ed8340cf708e5
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Tue, 20 Mar 2018 14:33:44 +0000 (20 10:33 -0400)
committerGitHub <noreply@github.com>
Tue, 20 Mar 2018 14:33:44 +0000 (20 10:33 -0400)
tree95350bf54d137f9cca8a00b2021d5273067c803b
parent7528656820c098688bd722fd8f92e2ee8f02a73a
[loader] Don't load framework Facade assemblies that are older than expected. (#7663)

* [loader] Don't load framework Facade assemblies that are older than expected.

If there is an older framework Facade assembly in the search order before the
one that we want, don't load it.

"older" here means just compare the major components of the version.

Fixes https://github.com/mono/mono/issues/7624
mono/metadata/assembly.c