.NET for Android warning XA1024
warning XA1024: Ignoring configuration file 'Foo.dll.config'. .NET configuration files are not supported in .NET for Android projects that target .NET 6 or higher.
No support for configuration files such as Foo.dll.config
or Foo.exe.config
is available in .NET for Android projects.
<dllmap>
configuration elements are not
supported in .NET 6 at all, and other element types for compatibility
packages like System.Configuration.ConfigurationManager have
never been supported in .NET for Android projects.
Use a supported alternative for <dllmap>
, such as the
NativeLibrary API.
Use an alternative for application settings such as Preferences in Xamarin.Essentials.