Deprecated; see https://aka.ms/dotnet-discord, and please use use #android on the DotNetEvolution Discord
.apk
, then it can't realistically reference Android assets, resources, or contain Java.Lang.Object
subclasses, as those required assets won't be available at runtime.
thanks for the information @jonpryor , @atsushieno
I wanted to use Assembly.Load from .NET assemblies compiled on Windows/Linux. I am aware of the linker (I have firsthand experience with linker headache, i did not realize it existed :P)
I remember getting a compile error with IronPython though, i'll post it a little later.
I was going to load assemblies not in my APK, but from the sdcard
external storage
also, would roslyn compilation and execution work?
any other issues i might encounter?
$(AndroidApiLevel)
and src/Xamarin.Android.Build.Tasks
. The latter only uses $(AndroidApiLevel)
to find the generated sources from src/Mono.Android
; it has no impact on whether e.g. ANDROID_23
is defined within compilation of src/Xamarin.Android.Build.Tasks
.
src/Xamarin.Android.Build.Tasks
doesn't already have a $(DefineConstants)
which includes ANDROID_23
and company.