.NET for Android warning IL6200
Example messages
Use of AppDomain.CreateDomain() detected in assembly: {assembly}. .NET 6 will only support a single AppDomain, so this API will no longer be available in .NET for Android once .NET 6 is released.
Note: this error maps to XA2000
in .NET for Android.
Solution
Transition code away from AppDomain.CreateDomain()
to a different API, such as AssemblyLoadContext
.