What event is raised when a file is added to a project?
-
23-08-2019 - |
Question
What are the events that are raised when a new or existing file is added/removed to/from a project (.vcproj or .csproj)?
I actually want to handle all possible events that might change the project structure in terms of added or removed project items.
This is in the context of creating add-ins for Visual Studio. Can anybody tell me atleast on event name so that I can look it up?
Solution
Maybe you will need to listen to ItemAdded, ItemRemoved, ItemRenamed of ProjectsEvents in Namespace EnvDTE. Here the MSDN link.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow