I'm writing an add-in for my company using the community templates, that should calculate and update a custom property on saving a document.
It was working fine, but now my handler is not being triggered by the BeforeDocumentSave event.
Via debugging I can see that the code to attach my handler in OnConnection is being run with no exceptions, and in Spy I can see the event is being called, but my method Handle_BeforeDocumentSave is not being called.
Has anyone any ideas as to what I might be doing wrong? (ST10 MP7)
Edit: Also, my ribbon bar is being loaded and works fine, so the Add-in is working to some extent.