Generate the equivalent of a DLL: a .netmodule
-
I am trying to bundle a coherent set of classes (one class per .h/.cpp pair) into a module to be distributed to my clients. So far when I link the classes to my test application using Visual Studio 2015, no problem. But when I configure project with the classes as input to generate a NET module, I get a warning about the manifest file not properly included in the generated module (warning starting with the keyword METAGEN), and when I want to link it to my test application, the linker cannot find the class methods. Sofar I checked the obvious settings such as OptimizeReferences, which would leave my module virtually empty (as I observe it). It seems to me that working demo solution with two project would get met going, where the first project packages the clases, let's say three classes with only one method and the obvious constructor, get combined in a module, and a second project that uses the module to get access to classes and their methods. Thanks in advance.