I have three projects:
project A is a native C/C++ project which generate a DLL (A.DLL)
project B is a C++/CLR project that loads A.DLL using loadlibrary and made call to library. It also provide a .net interface for applications in c# to call into a.dll. It is a class library and generate B.DLL.
Project C is a c# project that has a reference to project B and uses its service to call to A.DLL.
Since project C has a reference to project B, it is automatically copies b.dll to its output directory (for example bin\release folder), but I could not find any way to automatically include a.dll to output directory.
Is there any way that I can copy a.dll to output directory automatically?