Hello,
I've created a DLL compiled for linux x86-64 and mapping this using
P/Invoke. I'd like to know how a [DllImport("mylib")] can be instructed
to look for the architecture specific library, and if not found, then a
default (probably locally compiled) library for testing.
What I've done
On 16.01.2016 14:08, Jason Curl wrote:
>
> How would I handle this scenario within Mono?
>
The dllmap machinery does not probe for target dlls. It performs
a solely textual mapping.
You may want to have different configs with dllmaps for
DEBUG and RELEASE builds.
Robert