Visual Studio SDK - Handling File Add, Remove, and Rename Events

前端 未结 3 495
南方客
南方客 2021-01-03 04:06

I\'m working on a Visual Studio extension that should listen for events when the user adds, removes, or renames files in the current solution.

The answer to this que

3条回答
  •  时光说笑
    2021-01-03 04:48

    You can subscribe to the EnvDTE.ProjectsEvents, EnvDTE.ProjectItemsEvents or IVsHierarchyEvents.

提交回复
热议问题