Hi,
I'm working with IVsHierarchyEvents interface. It allows me to catch cases when hierarchy item is being renamed or moved; but I can't find the way how to catch delete-case, since VS calls OnItemDelete method on renames and moves.
I'm using CS projects and VS2005 RTM.
So, the question is how to know that the item with particular itemId is going be tottally deleted by VS
Thanks,
Peter

IVsHierarchy, item deleting
SteveInMA
I would suggest you to use the SVsTackProjectDocuments2 shell service which is better suited for handling events like rename, move and deletion of files. You can take a look at the VSSDK sample (addede recently to the VS SDK CTP)
...\VisualStudioIntegration\Samples\SourceControlIntegration\CSharp\Example.SccProvider\SccProviderService.cs
The SccProviderService implements the IVsTrackProjectDocumentEvents2 interface
Ole