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)
commit25bcd22d15d47ff50503631901fb851c97bb03c7
tree4bc50edf6b66cbe708ef042d8bc63746d59089cc
parent8cad881e132337a3bd47ac57f8186db670046a7c
parentc629125a1d3f05874455270a04b76d0d0ff3ddf9
Merge pull request #4730 from lambdageek/facades-and-bug-580

* 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.