Hi.
When I have a project opened in two or more instances in Visual Studio, when I change something in the first instance and save tha changes, as soon as I switch to the second instance I get a notification that the project file was modified. It asks me if I want to reload the project.
Is it possible to handle this event from my code? I need to do some additional things when a project is modified.
I suppose I can use the FileSystemWatcher to monitor changes in the file system. This seems ok, but I was wondering if there is some other way, using some API of Visual Studio?
Thanks.
When I have a project opened in two or more instances in Visual Studio, when I change something in the first instance and save tha changes, as soon as I switch to the second instance I get a notification that the project file was modified. It asks me if I want to reload the project.
Is it possible to handle this event from my code? I need to do some additional things when a project is modified.
I suppose I can use the FileSystemWatcher to monitor changes in the file system. This seems ok, but I was wondering if there is some other way, using some API of Visual Studio?
Thanks.