511124f4b1
Cecil has a fall-back mode where it looks in the GAC / system mono for assemblies when failing to find them elsewhere. This is not the expected behavior when using Xamarin.Mac in the Full/XM mode, because then we should only resolve to assemblies shipped with Xamarin.Mac. Unfortunately doing so will break apps (our own tests break), so instead change our resolution to be explicit about where we find assemblies, and if we find assemblies in the GAC / system mono when we're not supposed to, then show a warning. Also add a fall-back mechanism, where we use the old logic instead, in case the new logic is not 100% compatible with the old one. This showed up when I tried to port mmp to dotnet, because then Cecil stopped looking in the GAC / system mono for assemblies (Cecil has a special case when running on Mono to look in Mono's GAC), and tests started failing. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
CustomBuildActions.targets | ||
Info.plist | ||
Makefile | ||
mmptest.csproj | ||
packages.config |