I'm making a C++/CLI wrapper for a C++ class, but the DLL created by building my C++/CLI project fails to load in C#, Assembly.Load throws a fileNotFound exception with the message "Could not load file or assembly 'CLIExport.dll' or one of its dependencies. The system cannot find the file specified."
The C++/CLI project includes only the wrapper class, the C++ class, and one header file that the C++ class depends on, for which the source and header files has been added to the solution, no references have been added. Do I need to add references to the C++ class in the C++/CLI project? I don't know what the C# app thinks the assembly is missing, and I don't know what I need to add references to, does the C++/CLI project need to have a reference to every .net type it uses like classes in the System namespace?
Thanks.