xamarin-macios/tools/mmp
Rolf Bjarne Kvinge 77b8b61639
[tools] Make sure to finish the P/Invoke generator output before running the static registrar. Fixes #15190. (#15214)
Otherwise the P/Invoke generator leaves partial results in the static
registrar class, essentially saying things like "we've processed CoreMidi, no
need to add an #include for this framework", and then we'd generate the static
registrar code and that code would lack the #include for CoreMidi.

Finishing the P/Invoke generator output will clear out any state stored in the
static registrar.

Also fix a few other issues to make the generated P/Invoke wrapper code work,
and add a test.

Fixes https://github.com/xamarin/xamarin-macios/issues/15190.
2022-06-09 07:38:45 +02:00
..
linker/MonoMac.Tuner Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
.gitignore [mtouch/mmp] Build and ship the partial static registrar for .NET. 2020-08-21 10:32:56 +02:00
Application.mmp.cs [mmp] Move mmp's GenerateMain to shared Target code. 2020-10-23 11:46:09 +02:00
Assembly.mmp.cs [mtouch/mmp] Share Assembly.CopyAssembly. (#9310) 2020-08-07 08:24:09 +02:00
Info-framework.plist.tmpl [mmp] Add support for creating an Info.plist when building a framework for the embeddinator. 2017-05-09 08:12:39 +02:00
Info.plist.tmpl Build mmp. 2016-04-24 14:47:26 -04:00
Makefile [tools] Make the TargetFramework.DotNet* variables version-agnostic. (#14669) 2022-04-06 21:33:46 +02:00
Target.mmp.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
Tuning.mmp.cs [linker] Obsolete 'LinkerSafeAttribute' in favor of `AssemblyMetadata` (#11229) 2021-04-16 15:06:49 -04:00
aot.cs Xamarin.Mac native Apple Silicon targetting support (#10115) 2021-03-17 21:48:02 -04:00
config Add System.Net.Security.Native dllmap to mmp 2019-01-10 22:14:58 +01:00
config_mobile Add System.Net.Security.Native dllmap to mmp 2019-01-10 22:14:58 +01:00
driver.cs [tools] Make sure to finish the P/Invoke generator output before running the static registrar. Fixes #15190. (#15214) 2022-06-09 07:38:45 +02:00
machine.4_5.config Bump to mono/2018-04 (#3856) 2018-06-27 10:59:59 -04:00
mmp [mmp] Use relative path in mmp script. (#7909) 2020-02-25 06:57:15 +01:00
mmp.csproj Add a [NativeName] attribute we can use to declare the native name for a type (enum/struct). (#14918) 2022-05-09 22:16:17 +02:00
resolver.cs [mmp] Use the resolver (and configure it correctly) when using --runregistrar. (#11288) 2021-04-22 14:47:47 +02:00