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
The android linker strips a bunch of stuff from Ninject in my release build.
The log tells me ModuleLoader can not be loaded becasue it is missing a constructor if I enable the linker.
Maybe you can add the [Android.Runtime.Preserve] to the components that get loaded with reflection for the Android version?
In case someone else has this: Adding Ninject in the Ignore assemblies field under the linker setting seems to remedy the situation.
The text was updated successfully, but these errors were encountered:
I have the same issue,but adding Ninject to the ignore assmeblies was not enough.
I had to change from "Sdk and User Assemblies" to "Sdk Assemblies Only".
Did you do anything more than just adding Ninject ?
The android linker strips a bunch of stuff from Ninject in my release build.
The log tells me ModuleLoader can not be loaded becasue it is missing a constructor if I enable the linker.
Maybe you can add the [Android.Runtime.Preserve] to the components that get loaded with reflection for the Android version?
In case someone else has this: Adding Ninject in the Ignore assemblies field under the linker setting seems to remedy the situation.
The text was updated successfully, but these errors were encountered: