I have a C++ main.dll with exported classes which is x86, a wrapper for it in C#/CLI which is x86 and has linked main.dll's lib and I have a C# Test.exe application that makes use of that wrapper (which is also set to 32bit in Properties -> Build -> Platform Target -> x86), I referenced it by simply right clicking on References -> Add Reference -> Test.Wrapper.Dll.
I've tried using Dependency Walker, everything looked correct except API-MS-WIN etc, but according to this post, that's normal.
I have C++ 2013, 2015, 2017 Redistributables installed.
Test.Wrapper.dll is also in the Test.exe's output folder.
I have no idea after this, any kind of help is appreciated.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Test.Wrapper.dll' or one of its dependencies. The specified module could not be found at Test.Program.Main(String[] args)