I have created arcMap addins(10.3.1) with C#. I ran ilmerge on my build so that my distribution of code is just one dll. When I test my addin, the buttons are not enabled. If i don't run the ilmerge command, everything rund fine.
If i run the addin from the visual studio debug, I can see that the correct DLL is loaded in modules, but it is not executed.