xamarin-macios/tests/mmptest
Rolf Bjarne Kvinge 511124f4b1
[mmp] Explicitly resolve assemblies from the GAC / system mono. (#8377)
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.
2020-04-14 16:32:42 +02:00
..
src [mmp] Explicitly resolve assemblies from the GAC / system mono. (#8377) 2020-04-14 16:32:42 +02:00
.gitignore [tests] Import 2016-05-26 15:06:52 +02:00
CustomBuildActions.targets [tests] Fix relative paths in mmptest and make cloned XM nunit projects work properly. (#3464) 2018-02-13 17:19:31 +01:00
Info.plist Mono 2018-08 requires macOS 10.9+, so Xamarin.Mac must as well. 2018-10-25 09:54:43 +02:00
Makefile [tests] Move mmptest/regression to mmp-regression. (#8314) 2020-04-08 16:19:47 +02:00
mmptest.csproj [tests] Fix location of aot.cs in mmptest.csproj (#8361) 2020-04-13 16:08:15 +02:00
packages.config Implement a different escaping/quoting algorithm for arguments to System.Diagnostics.Process. (#7177) 2019-10-14 16:18:46 +02:00