ILMerge icon indicating copy to clipboard operation
ILMerge copied to clipboard

Can this work on C++ /clr assemblies to combine c# dependencies?

Open AraHaan opened this issue 4 years ago • 1 comments

I would like to know this because I got a c++ /clr plugin to a pure c++ exe program that has it's own plugin interface. The plugin basically then allows plugins to be made using c#. However any and all C# code would have to be merged in with the base c++ /clr code and outputted as the original file name as the file that was before made in just C#. This basically would be how it would actually be able to work.

And so basically, somehow I got to look and see if dependencies are not in the GAC, and then if not, combine them in to avoid causing the pure c++ exe program from crashing miserably.

AraHaan avatar Apr 08 '20 22:04 AraHaan

Sorry, but ILMerge is unable to merge anything other than fully managed assemblies. As far as I know, the C++/CLR assemblies contain lots of unmanaged goo so ILMerge would be unable to include such an assembly into its output, merged, assembly.

mike-barnett avatar Apr 10 '20 14:04 mike-barnett