Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Example messages
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.
Issue
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.
Solution
Use a supported alternative for <dllmap>
, such as the
NativeLibrary API.
Use an alternative for application settings such as Preferences in Xamarin.Essentials.