I am creating a visual studio 2010 addin for managing stored procedures used by the code. Currently I have all of the functionality written to manage the sql files. I also have the ability to open the sql code files for editing. However, I now need the ability to capture the edited file on save or exit event. Essentially, what I am trying to acheive is a pop-up that asks the user if they would like to create a new version in the repository for the file. Right now, when they exit or save any changes go to the original file. I do not want this because if the file has changed, a new version needs to be created for deployment. Does anybody have any idea how to do this? I cannot find the information anywhere. I'm sure I am just searching for the wrong terms.
TIA rbr
