Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

OnSave Event not seen if tool window closed

$
0
0
I'm completely new to VS extensions.  I need hook into the OnBeforeSave event so I followed an example on the docs site which creates and RDTEventsExplorer. This all works fine if the tool window the example uses, is first opened from the View->OtherWindows menu.  It can then be closed and the events are still captured.  However, if the tool window is never opened the events are not seen.  So my question is how do I create an extension with no tool windows or menus which reacts to the OnBeforeSave event?  Where do I put the code which implements "IVsRunningDocTableEvents"?  Anyone know?

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>