Maybe as addition if someone else is looking into this: works with .NET Framework 4.0 and above. Just ILMerge .net 3.5 and below won’t work. There are many topics around this, but no solution helped me (or I was just too dumb ^^').
That’s interesting. Can’t say I know for sure why that is calling createToolbar(). My plugin also uses a toolbar icon but it registers it during NPPN_TBMODIFICATION.
It is also good not to pronounce something a “bug” when perhaps it exists only on your system. I have a Logitech Setpoint-driven mouse, and if I assign copy and/or paste to its extra buttons (which I never thought of doing, actually…), those functions work correctly, in Notepad++ 7.2.2.