I have build a program that will read some video and audio information of a mkv file using MediaInfo.dll.

The program is working perfect when running from source, with the dll placed in the `bin` folder.

Now i want to publish my app and be able to continue using it. The `MediaInfo.dll` library is no longer found. I tried placing it in `C:\WIndows\` or in `C:\Windows\system32` with no luck. If i run the setup (after publishing) the program is installed in the same location (i don't want this but this is another problem). I tried placing the dll into that folder too.

The code that is throwing me the error is :

```
try{
  Handle = MediaInfo_New();
}
catch (Exception ex){
                Handle = (IntPtr)0;
Console.Out.WriteLine(ex.ToString());
}

```

The error throw is `System.BadImageFormatException` or `System.DllNotFoundException: Unable to load DLL 'MediaInfo.dll'`.

Any idea on where to place the dll ?