Native C++ DLL into Xamarin.Android RRS feed

  • Question

  • User139519 posted

    Hi, guys,

    I am facing a linking issue. I have a Xamarin.Android project that refers to a .NET Standard library that is within the same solution. In that .NET Standard library I am utilizing an external SDK (managed DLLs build for .NET Standard). But those external DLLs are wrappers of the native C++ DLLs. So in order to use them (I spoke with the SDK providers) I have to have those native DLLs copied to the working directory of the project. I tried with copying in the Output folder and nothing happened. Then I thought that there might be another way to link native DLLs to a Xmarin.Android project. I tried adding them into lib/armeabi and setting the build action to AndroidNativeLibrary, but it didn't work. In general, when I try to access anything from the wrapper assembly in runtime it breaks with DLLNotFoundException. Any thoughts?


    Thursday, August 23, 2018 2:47 PM

All replies

  • User21936 posted


    Saturday, August 25, 2018 1:44 AM