You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[jnimarshalmethod-gen] Do not generate in already processed assemblies
Improves dotnet/android#2419
Change the behavior in case we find an existing
`__<$>_jni_marshal_methods` class. Skip the whole assembly instead of
just the type.
Updated the warning message to report the assembly name. This can be
still overriden by using `-f`.
This also means the number of these warnings is significanly reduced
to one per assembly, instead one per type in case we try to generate
the methods for assemblies which were already processed and thus
contain the marshaling classes.
Warning($"Marshal methods type '{existingMarshalMethodsType.GetAssemblyQualifiedName()}' already exists. Skipped generation of marshal methods. Use -f to force regeneration when desired.");
332
+
Warning($"Marshal methods type '{existingMarshalMethodsType.GetAssemblyQualifiedName()}' already exists. Skipped generation of marshal methods in assembly '{assemblyName}'. Use -f to force regeneration when desired.");
0 commit comments