Merge pull request #4730 from lambdageek/facades-and-bug-580
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Tue, 25 Apr 2017 22:15:50 +0000 (18:15 -0400)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2017 22:15:50 +0000 (18:15 -0400)
* Check strong names on a couple more codepaths during assembly loading.  Fixes [bugzilla #580](https://bugzilla.xamarin.com/show_bug.cgi?id=580) and [bugzilla #55436](https://bugzilla.xamarin.com/show_bug.cgi?id=55436)
* Add `--apply-bindings=FILE` option.  Allows us to specify a configuration file for assembly binding redirections when AOTing.
* Use the above flag when AOTing `System.ReflectionMetadata.dll` to pick up `csc.exe.config`
* Add all the Facades to the `framework_assemblies` list in the runtime.  Facade and non-Facade framework assemblies behave differently:
  * for Facades, don't do any version remapping, and any version is okay.
  * for non-Facades, consult the version map to remap depdending on the --runtime used.


Trivial merge