I am trying to implement a OneNote Add-In and was surprised at the lack of Microsoft support. I am using Office Pro 2016. I found after hours of googling
but upon implementing them both of them lead me to the same result - the Add-in is deployed but it fails to become active. The following error message is displayed in "COM Add-ins" dialog: "Load Behavior: Not loaded. A runtime error occurred during the loading of the COM Add-in" I tried to debug following the steps from here (https://blogs.msdn.microsoft.com/vsod/2008/04/22/troubleshooting-com-add-in-load-failures/) without any result. I also tried to enable OneNote Add-in logging following the steps from here (OneNote 2013 Add-in won't load. How to debug?) again without any results, the log file is not created, probably the steps for Office 2016 are different.
Any help would be greatly appreciated. A VS project template? Another more updated tutorial/sample? Any suggestions to investigate/fix the "runtime error occurred during the loading of the COM Add-in"