adding a DLL file in Android output Directory .net maui

hassan abdulbaqi 0 Reputation points
2023-09-10T23:20:39.21+00:00

This is my First Question Here if you have any tips about how to improve it please let me know,

I'm using the Bass.net library in a .net maui project and I downloaded the DLL file From Here:https://www.un4seen.com/
The problem is The DLL file is required to be put in the executable directory,
Here is where I put the DLL file:\Debug\net7.0-android
but still get "System.DllNotFoundException: 'bass'"
Is there another directory where I could put the DLL or this doesn't work on .net maui?
TYSM in advance.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,411 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.